POST api/Master/PutPlantmaster
Request Information
URI Parameters
None.
Body Parameters
PlantMasterInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| PLA_ID | integer |
None. |
|
| PLA_CODE | string |
None. |
|
| PLA_NAME | string |
None. |
|
| PLA_AR_ID | integer |
None. |
|
| PLA_CO_ID | integer |
None. |
|
| PLA_CT_ID | integer |
None. |
|
| PLA_ADD | string |
None. |
|
| PLA_PIN | string |
None. |
|
| PLA_TEL_NUM | string |
None. |
|
| PLA_FAX_NUM | string |
None. |
|
| PLA_EMAIL | string |
None. |
|
| PLA_SEARCH | string |
None. |
|
| PLA_STATUS | string |
None. |
|
| PLA_NOTES | string |
None. |
|
| PLA_PROGRAM_ID | string |
None. |
|
| PLA_CREATED_BY | integer |
None. |
|
| PLA_ALLOWED_PRODUCT | Collection of AllowedProdInputs |
None. |
|
| PLA_CONTACT_DETAILS | Collection of ContactDtlsInputs |
None. |
Request Formats
application/json, text/json
Sample:
{
"PLA_ID": 1,
"PLA_CODE": "sample string 1",
"PLA_NAME": "sample string 2",
"PLA_AR_ID": 1,
"PLA_CO_ID": 1,
"PLA_CT_ID": 1,
"PLA_ADD": "sample string 3",
"PLA_PIN": "sample string 4",
"PLA_TEL_NUM": "sample string 5",
"PLA_FAX_NUM": "sample string 6",
"PLA_EMAIL": "sample string 7",
"PLA_SEARCH": "sample string 8",
"PLA_STATUS": "sample string 9",
"PLA_NOTES": "sample string 10",
"PLA_PROGRAM_ID": "sample string 11",
"PLA_CREATED_BY": 1,
"PLA_ALLOWED_PRODUCT": [
{
"PLP_ID": 1,
"PLP_PRC_ID": 1,
"PLP_PRC_CODE": "sample string 1",
"PLP_PRC_NAME": "sample string 2"
},
{
"PLP_ID": 1,
"PLP_PRC_ID": 1,
"PLP_PRC_CODE": "sample string 1",
"PLP_PRC_NAME": "sample string 2"
}
],
"PLA_CONTACT_DETAILS": [
{
"PLC_ID": 1,
"PLC_TYPE": "sample string 1",
"PLC_TYPE_CODE": "sample string 2",
"PLC_PERSON_NAME": "sample string 3",
"PLC_TEL_NUM": "sample string 4",
"PLC_EMAIL": "sample string 5"
},
{
"PLC_ID": 1,
"PLC_TYPE": "sample string 1",
"PLC_TYPE_CODE": "sample string 2",
"PLC_PERSON_NAME": "sample string 3",
"PLC_TEL_NUM": "sample string 4",
"PLC_EMAIL": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<PlantMasterInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<PLA_ADD>sample string 3</PLA_ADD>
<PLA_ALLOWED_PRODUCT>
<AllowedProdInputs>
<PLP_ID>1</PLP_ID>
<PLP_PRC_CODE>sample string 1</PLP_PRC_CODE>
<PLP_PRC_ID>1</PLP_PRC_ID>
<PLP_PRC_NAME>sample string 2</PLP_PRC_NAME>
</AllowedProdInputs>
<AllowedProdInputs>
<PLP_ID>1</PLP_ID>
<PLP_PRC_CODE>sample string 1</PLP_PRC_CODE>
<PLP_PRC_ID>1</PLP_PRC_ID>
<PLP_PRC_NAME>sample string 2</PLP_PRC_NAME>
</AllowedProdInputs>
</PLA_ALLOWED_PRODUCT>
<PLA_AR_ID>1</PLA_AR_ID>
<PLA_CODE>sample string 1</PLA_CODE>
<PLA_CONTACT_DETAILS>
<ContactDtlsInputs>
<PLC_EMAIL>sample string 5</PLC_EMAIL>
<PLC_ID>1</PLC_ID>
<PLC_PERSON_NAME>sample string 3</PLC_PERSON_NAME>
<PLC_TEL_NUM>sample string 4</PLC_TEL_NUM>
<PLC_TYPE>sample string 1</PLC_TYPE>
<PLC_TYPE_CODE>sample string 2</PLC_TYPE_CODE>
</ContactDtlsInputs>
<ContactDtlsInputs>
<PLC_EMAIL>sample string 5</PLC_EMAIL>
<PLC_ID>1</PLC_ID>
<PLC_PERSON_NAME>sample string 3</PLC_PERSON_NAME>
<PLC_TEL_NUM>sample string 4</PLC_TEL_NUM>
<PLC_TYPE>sample string 1</PLC_TYPE>
<PLC_TYPE_CODE>sample string 2</PLC_TYPE_CODE>
</ContactDtlsInputs>
</PLA_CONTACT_DETAILS>
<PLA_CO_ID>1</PLA_CO_ID>
<PLA_CREATED_BY>1</PLA_CREATED_BY>
<PLA_CT_ID>1</PLA_CT_ID>
<PLA_EMAIL>sample string 7</PLA_EMAIL>
<PLA_FAX_NUM>sample string 6</PLA_FAX_NUM>
<PLA_ID>1</PLA_ID>
<PLA_NAME>sample string 2</PLA_NAME>
<PLA_NOTES>sample string 10</PLA_NOTES>
<PLA_PIN>sample string 4</PLA_PIN>
<PLA_PROGRAM_ID>sample string 11</PLA_PROGRAM_ID>
<PLA_SEARCH>sample string 8</PLA_SEARCH>
<PLA_STATUS>sample string 9</PLA_STATUS>
<PLA_TEL_NUM>sample string 5</PLA_TEL_NUM>
</PlantMasterInputs>
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. |