POST api/sync_PJP
Request Information
URI Parameters
None.
Body Parameters
SyncPJP| Name | Description | Type | Additional information |
|---|---|---|---|
| obj_PJP | tbl_PJP |
None. |
|
| obj_PJPList_Li | Collection of tbl_PJPList |
None. |
Request Formats
application/json, text/json
Sample:
{
"obj_PJP": {
"Month_id": 1,
"EmployeeId": 2
},
"obj_PJPList_Li": [
{
"Distributor_id": 1,
"District_Id": 2,
"Beat_Id": 3,
"Day": "sample string 4",
"Type": "sample string 5"
},
{
"Distributor_id": 1,
"District_Id": 2,
"Beat_Id": 3,
"Day": "sample string 4",
"Type": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<SyncPJP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIDAS_API.Models">
<obj_PJP>
<EmployeeId>2</EmployeeId>
<Month_id>1</Month_id>
</obj_PJP>
<obj_PJPList_Li>
<tbl_PJPList>
<Beat_Id>3</Beat_Id>
<Day>sample string 4</Day>
<Distributor_id>1</Distributor_id>
<District_Id>2</District_Id>
<Type>sample string 5</Type>
</tbl_PJPList>
<tbl_PJPList>
<Beat_Id>3</Beat_Id>
<Day>sample string 4</Day>
<Distributor_id>1</Distributor_id>
<District_Id>2</District_Id>
<Type>sample string 5</Type>
</tbl_PJPList>
</obj_PJPList_Li>
</SyncPJP>
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. |