POST CNC/Request
Request Information
URI Parameters
None.
Body Parameters
CNCRequested| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RequestType | integer |
Required |
|
| CustomerName | string |
Required |
|
| CustomerMobileNo | string |
Required |
|
| CustomerEmail | string |
Required |
|
| CompanyName | string |
None. |
|
| CompanyPhone | string |
None. |
|
| CompanyFaxNo | string |
None. |
|
| ChannelCode | string |
Required |
|
| ILS_RefNumber | string |
None. |
|
| CNCRequestDetailes | Collection of CNCRequestDetails |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RequestType": 2,
"CustomerName": "sample string 3",
"CustomerMobileNo": "sample string 4",
"CustomerEmail": "sample string 5",
"CompanyName": "sample string 6",
"CompanyPhone": "sample string 7",
"CompanyFaxNo": "sample string 8",
"ChannelCode": "sample string 9",
"ILS_RefNumber": "sample string 10",
"CNCRequestDetailes": [
{
"Id": 1,
"BusType": 2,
"BusCount": 3,
"RequestDateTime": "sample string 4",
"DirectionFrom": "sample string 5",
"DirectionTo": "sample string 6",
"ServiceLocation": "sample string 7",
"SalesOffice": 8,
"FromCordination": "sample string 9",
"ToCordination": "sample string 10",
"IsDeleted": true
}
],
"IsDeleted": true
}
application/xml, text/xml
Sample:
<CNCRequested xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPTCO.Mobile.Forms.Models">
<CNCRequestDetailes>
<CNCRequestDetails>
<BusCount>3</BusCount>
<BusType>2</BusType>
<DirectionFrom>sample string 5</DirectionFrom>
<DirectionTo>sample string 6</DirectionTo>
<FromCordination>sample string 9</FromCordination>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<RequestDateTime>sample string 4</RequestDateTime>
<SalesOffice>8</SalesOffice>
<ServiceLocation>sample string 7</ServiceLocation>
<ToCordination>sample string 10</ToCordination>
</CNCRequestDetails>
</CNCRequestDetailes>
<ChannelCode>sample string 9</ChannelCode>
<CompanyFaxNo>sample string 8</CompanyFaxNo>
<CompanyName>sample string 6</CompanyName>
<CompanyPhone>sample string 7</CompanyPhone>
<CustomerEmail>sample string 5</CustomerEmail>
<CustomerMobileNo>sample string 4</CustomerMobileNo>
<CustomerName>sample string 3</CustomerName>
<ILS_RefNumber>sample string 10</ILS_RefNumber>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<RequestType>2</RequestType>
</CNCRequested>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>