POST api/LPA/SOVehicleMapping
Request Information
URI Parameters
None.
Body Parameters
Collection of SOVehicleMappingMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| soNo | string |
None. |
|
| customerId | string |
None. |
|
| customerName | string |
None. |
|
| soCreatedDate | string |
None. |
|
| vehicleDetails | Collection of SOVehicleDetails |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"soNo": "sample string 1",
"customerId": "sample string 2",
"customerName": "sample string 3",
"soCreatedDate": "sample string 4",
"vehicleDetails": [
{
"vehicleNo": "sample string 1",
"status": "sample string 2"
},
{
"vehicleNo": "sample string 1",
"status": "sample string 2"
}
]
},
{
"soNo": "sample string 1",
"customerId": "sample string 2",
"customerName": "sample string 3",
"soCreatedDate": "sample string 4",
"vehicleDetails": [
{
"vehicleNo": "sample string 1",
"status": "sample string 2"
},
{
"vehicleNo": "sample string 1",
"status": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfSOVehicleMappingMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
<SOVehicleMappingMDL>
<customerId>sample string 2</customerId>
<customerName>sample string 3</customerName>
<soCreatedDate>sample string 4</soCreatedDate>
<soNo>sample string 1</soNo>
<vehicleDetails>
<SOVehicleDetails>
<status>sample string 2</status>
<vehicleNo>sample string 1</vehicleNo>
</SOVehicleDetails>
<SOVehicleDetails>
<status>sample string 2</status>
<vehicleNo>sample string 1</vehicleNo>
</SOVehicleDetails>
</vehicleDetails>
</SOVehicleMappingMDL>
<SOVehicleMappingMDL>
<customerId>sample string 2</customerId>
<customerName>sample string 3</customerName>
<soCreatedDate>sample string 4</soCreatedDate>
<soNo>sample string 1</soNo>
<vehicleDetails>
<SOVehicleDetails>
<status>sample string 2</status>
<vehicleNo>sample string 1</vehicleNo>
</SOVehicleDetails>
<SOVehicleDetails>
<status>sample string 2</status>
<vehicleNo>sample string 1</vehicleNo>
</SOVehicleDetails>
</vehicleDetails>
</SOVehicleMappingMDL>
</ArrayOfSOVehicleMappingMDL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LPASalesOrderResponseMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<LPASalesOrderResponseMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA"> <Message>sample string 2</Message> <Response>1</Response> </LPASalesOrderResponseMDL>