POST api/TransportOrder/PostSPMaintainence
Request Information
URI Parameters
None.
Body Parameters
SparePartsMainInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| SPM_ID | integer |
None. |
|
| SPM_CP_ID | integer |
None. |
|
| SPM_ACTIVITY | string |
None. |
|
| SPM_CAT | string |
None. |
|
| SPM_TRK_NUM | integer |
None. |
|
| SPM_POSITION | string |
None. |
|
| SPM_FIT_DATE | date |
None. |
|
| SPM_MT_BY | integer |
None. |
|
| SPM_RM_BY | integer |
None. |
|
| SPM_FIT_KM | decimal number |
None. |
|
| SPM_AMOUNT | decimal number |
None. |
|
| SPM_CUR_ID | integer |
None. |
|
| SPM_REASON | string |
None. |
|
| SPM_STATUS | string |
None. |
|
| SPM_NOTES | string |
None. |
|
| SPM_CREATED_BY | integer |
None. |
|
| SPM_PROGRAM_ID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SPM_ID": 1,
"SPM_CP_ID": 1,
"SPM_ACTIVITY": "sample string 1",
"SPM_CAT": "sample string 2",
"SPM_TRK_NUM": 1,
"SPM_POSITION": "sample string 3",
"SPM_FIT_DATE": "2025-12-06T05:21:12.0410214+00:00",
"SPM_MT_BY": 1,
"SPM_RM_BY": 1,
"SPM_FIT_KM": 1.1,
"SPM_AMOUNT": 1.1,
"SPM_CUR_ID": 1,
"SPM_REASON": "sample string 4",
"SPM_STATUS": "sample string 5",
"SPM_NOTES": "sample string 6",
"SPM_CREATED_BY": 1,
"SPM_PROGRAM_ID": "sample string 7"
}
application/xml, text/xml
Sample:
<SparePartsMainInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <SPM_ACTIVITY>sample string 1</SPM_ACTIVITY> <SPM_AMOUNT>1.1</SPM_AMOUNT> <SPM_CAT>sample string 2</SPM_CAT> <SPM_CP_ID>1</SPM_CP_ID> <SPM_CREATED_BY>1</SPM_CREATED_BY> <SPM_CUR_ID>1</SPM_CUR_ID> <SPM_FIT_DATE>2025-12-06T05:21:12.0410214+00:00</SPM_FIT_DATE> <SPM_FIT_KM>1.1</SPM_FIT_KM> <SPM_ID>1</SPM_ID> <SPM_MT_BY>1</SPM_MT_BY> <SPM_NOTES>sample string 6</SPM_NOTES> <SPM_POSITION>sample string 3</SPM_POSITION> <SPM_PROGRAM_ID>sample string 7</SPM_PROGRAM_ID> <SPM_REASON>sample string 4</SPM_REASON> <SPM_RM_BY>1</SPM_RM_BY> <SPM_STATUS>sample string 5</SPM_STATUS> <SPM_TRK_NUM>1</SPM_TRK_NUM> </SparePartsMainInputs>
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. |