POST pos/tasks
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfRegisterTaskMobile| Name | Description | Type | Additional information |
|---|---|---|---|
| Inserted | Collection of RegisterTaskMobile |
None. |
|
| Updated | Collection of RegisterTaskMobile |
None. |
Request Formats
application/json, text/json
Sample:
{
"Inserted": [
{
"Type": 1,
"Params": "sample string 1",
"InternalMobileId": 2,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
},
{
"Type": 1,
"Params": "sample string 1",
"InternalMobileId": 2,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
}
],
"Updated": [
{
"Type": 1,
"Params": "sample string 1",
"InternalMobileId": 2,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
},
{
"Type": 1,
"Params": "sample string 1",
"InternalMobileId": 2,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
}
]
}
application/xml, text/xml
Sample:
<ApiPushRequestOfRegisterTaskMobileobWO7_Sri xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api">
<Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Register">
<d2p1:RegisterTaskMobile>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">2</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<d2p1:Params>sample string 1</d2p1:Params>
<d2p1:Type>IncreaseHouseAccountBalance</d2p1:Type>
</d2p1:RegisterTaskMobile>
<d2p1:RegisterTaskMobile>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">2</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<d2p1:Params>sample string 1</d2p1:Params>
<d2p1:Type>IncreaseHouseAccountBalance</d2p1:Type>
</d2p1:RegisterTaskMobile>
</Inserted>
<Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Register">
<d2p1:RegisterTaskMobile>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">2</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<d2p1:Params>sample string 1</d2p1:Params>
<d2p1:Type>IncreaseHouseAccountBalance</d2p1:Type>
</d2p1:RegisterTaskMobile>
<d2p1:RegisterTaskMobile>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">2</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<d2p1:Params>sample string 1</d2p1:Params>
<d2p1:Type>IncreaseHouseAccountBalance</d2p1:Type>
</d2p1:RegisterTaskMobile>
</Updated>
</ApiPushRequestOfRegisterTaskMobileobWO7_Sri>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |