POST api/lpa/material/add
Request Information
URI Parameters
None.
Body Parameters
Collection of LPASvcAddMaterialMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| materialName | string |
None. |
|
| natureOfService | string |
None. |
|
| materialUnit | string |
None. |
|
| hsnCode | string |
None. |
|
| materialCategory | string |
None. |
|
| processName | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"materialName": "sample string 1",
"natureOfService": "sample string 2",
"materialUnit": "sample string 3",
"hsnCode": "sample string 4",
"materialCategory": "sample string 5",
"processName": "sample string 6"
},
{
"materialName": "sample string 1",
"natureOfService": "sample string 2",
"materialUnit": "sample string 3",
"hsnCode": "sample string 4",
"materialCategory": "sample string 5",
"processName": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfLPASvcAddMaterialMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
<LPASvcAddMaterialMDL>
<hsnCode>sample string 4</hsnCode>
<materialCategory>sample string 5</materialCategory>
<materialName>sample string 1</materialName>
<materialUnit>sample string 3</materialUnit>
<natureOfService>sample string 2</natureOfService>
<processName>sample string 6</processName>
</LPASvcAddMaterialMDL>
<LPASvcAddMaterialMDL>
<hsnCode>sample string 4</hsnCode>
<materialCategory>sample string 5</materialCategory>
<materialName>sample string 1</materialName>
<materialUnit>sample string 3</materialUnit>
<natureOfService>sample string 2</natureOfService>
<processName>sample string 6</processName>
</LPASvcAddMaterialMDL>
</ArrayOfLPASvcAddMaterialMDL>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LogisticsDocumentMDL| 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:
<LogisticsDocumentMDL 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> </LogisticsDocumentMDL>