POST api/Master/PutSpareParts
Request Information
URI Parameters
None.
Body Parameters
SparePartsInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| SPM_ID | integer |
None. |
|
| SPM_PARTS_NAME | string |
None. |
|
| SPM_CAT | string |
None. |
|
| SPM_BRAND_NAME | string |
None. |
|
| SPM_MANUFACTURER | string |
None. |
|
| SPM_AP_ID | integer |
None. |
|
| SPM_BILL_NUMBER | string |
None. |
|
| SPM_STATUS | string |
None. |
|
| SPM_NOTES | string |
None. |
|
| SPM_PROGRAM_ID | string |
None. |
|
| SPM_CP_ID | integer |
None. |
|
| SPM_CREATED_BY | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SPM_ID": 1,
"SPM_PARTS_NAME": "sample string 1",
"SPM_CAT": "sample string 2",
"SPM_BRAND_NAME": "sample string 3",
"SPM_MANUFACTURER": "sample string 4",
"SPM_AP_ID": 1,
"SPM_BILL_NUMBER": "sample string 5",
"SPM_STATUS": "sample string 6",
"SPM_NOTES": "sample string 7",
"SPM_PROGRAM_ID": "sample string 8",
"SPM_CP_ID": 1,
"SPM_CREATED_BY": 1
}
application/xml, text/xml
Sample:
<SparePartsInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <SPM_AP_ID>1</SPM_AP_ID> <SPM_BILL_NUMBER>sample string 5</SPM_BILL_NUMBER> <SPM_BRAND_NAME>sample string 3</SPM_BRAND_NAME> <SPM_CAT>sample string 2</SPM_CAT> <SPM_CP_ID>1</SPM_CP_ID> <SPM_CREATED_BY>1</SPM_CREATED_BY> <SPM_ID>1</SPM_ID> <SPM_MANUFACTURER>sample string 4</SPM_MANUFACTURER> <SPM_NOTES>sample string 7</SPM_NOTES> <SPM_PARTS_NAME>sample string 1</SPM_PARTS_NAME> <SPM_PROGRAM_ID>sample string 8</SPM_PROGRAM_ID> <SPM_STATUS>sample string 6</SPM_STATUS> </SparePartsInputs>
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. |