POST api/Master/PostComponentMaster
Request Information
URI Parameters
None.
Body Parameters
ComponentMasterName | Description | Type | Additional information |
---|---|---|---|
CM_ID | integer |
None. |
|
CM_CODE | string |
None. |
|
CM_ASSEMBLY | string |
None. |
|
CM_DESCRIPTION | string |
None. |
|
CM_NOTES | string |
None. |
|
CM_CREATED_BY | integer |
None. |
|
CM_ASSEMBLY_CODE | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CM_ID": 1, "CM_CODE": "sample string 1", "CM_ASSEMBLY": "sample string 2", "CM_DESCRIPTION": "sample string 3", "CM_NOTES": "sample string 4", "CM_CREATED_BY": 1, "CM_ASSEMBLY_CODE": "sample string 5" }
application/xml, text/xml
Sample:
<ComponentMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <CM_ASSEMBLY>sample string 2</CM_ASSEMBLY> <CM_ASSEMBLY_CODE>sample string 5</CM_ASSEMBLY_CODE> <CM_CODE>sample string 1</CM_CODE> <CM_CREATED_BY>1</CM_CREATED_BY> <CM_DESCRIPTION>sample string 3</CM_DESCRIPTION> <CM_ID>1</CM_ID> <CM_NOTES>sample string 4</CM_NOTES> </ComponentMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |