POST api/Customer/UpdateCustomer
Request Information
URI Parameters
None.
Body Parameters
postcustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| ar_id | integer |
None. |
|
| ar_cp_id | integer |
None. |
|
| ar_code | string |
None. |
|
| ar_name | string |
None. |
|
| ar_po_box | string |
None. |
|
| ar_address | string |
None. |
|
| ar_city | integer |
None. |
|
| ar_state | integer |
None. |
|
| ar_country | integer |
None. |
|
| ar_pin | string |
None. |
|
| ar_tel_num | string |
None. |
|
| ar_fax_num | string |
None. |
|
| ar_mail_id | string |
None. |
|
| ar_tax_id | string |
None. |
|
| ar_status | string |
None. |
|
| ar_notes | string |
None. |
|
| ar_forwarder_flag | string |
None. |
|
| ar_exporter_flag | string |
None. |
|
| ar_importer_flag | string |
None. |
|
| ar_warehouse_flag | string |
None. |
|
| ar_cfs_flag | string |
None. |
|
| ar_agency_flag | string |
None. |
|
| ar_depot_flag | string |
None. |
|
| ar_transport_flag | string |
None. |
|
| ar_online_flag | string |
None. |
|
| ar_search | string |
None. |
|
| ar_f_name | string |
None. |
|
| ar_f_add_1 | string |
None. |
|
| ar_f_add_2 | string |
None. |
|
| ar_f_add_3 | string |
None. |
|
| ar_program_id | string |
None. |
|
| ar_created_by | integer |
None. |
|
| AR_F_CODE | string |
None. |
|
| AR_NAME_F | string |
None. |
|
| AR_F_ADDRESS | string |
None. |
|
| AR_TAN_NUM | string |
None. |
|
| AR_COUNTRY_NAME | string |
None. |
|
| AR_CITY_NAME | string |
None. |
|
| AR_STATUS_NAME | string |
None. |
|
| AR_STATE_NAME | string |
None. |
|
| AR_CONSIGNER_FLAG | string |
None. |
|
| AR_CONSIGNEE_FLAG | string |
None. |
|
| AR_EMAIL_ALERT | Collection of CustomerEmail |
None. |
|
| AR_NOTES_DETAILS | Collection of CustomerNotes |
None. |
|
| AR_ATTACHMENT_DETAILS | Collection of PostARAttachment |
None. |
|
| AR_CUST_ATTACH_DETAILS | Collection of AR_CUST_ATTACH_XML |
None. |
|
| AR_CHA_BRANCH | Collection of AR_CHA_BRANCH |
None. |
|
| AR_IEC_NUM | string |
None. |
|
| AR_CONSIGNEE_COUNTRY | integer |
None. |
|
| AR_BROKER_FLAG | string |
None. |
|
| AR_PAGE_SIZE | integer |
None. |
|
| AR_PAGE | integer |
None. |
|
| AR_EXP_TYPE | string |
None. |
|
| AR_CLASS | string |
None. |
|
| AR_GST_TYPE | string |
None. |
|
| AR_GST_TYPE_CODE | string |
None. |
|
| AR_CUS_TYPE | string |
None. |
|
| AR_ADDRESS_DETAILS | Collection of AR_ADDRESS_DETAILS |
None. |
Request Formats
application/json, text/json
Sample:
{
"ar_id": 1,
"ar_cp_id": 1,
"ar_code": "sample string 1",
"ar_name": "sample string 2",
"ar_po_box": "sample string 3",
"ar_address": "sample string 4",
"ar_city": 1,
"ar_state": 1,
"ar_country": 1,
"ar_pin": "sample string 5",
"ar_tel_num": "sample string 6",
"ar_fax_num": "sample string 7",
"ar_mail_id": "sample string 8",
"ar_tax_id": "sample string 9",
"ar_status": "sample string 10",
"ar_notes": "sample string 11",
"ar_forwarder_flag": "sample string 12",
"ar_exporter_flag": "sample string 13",
"ar_importer_flag": "sample string 14",
"ar_warehouse_flag": "sample string 15",
"ar_cfs_flag": "sample string 16",
"ar_agency_flag": "sample string 17",
"ar_depot_flag": "sample string 18",
"ar_transport_flag": "sample string 19",
"ar_online_flag": "sample string 20",
"ar_search": "sample string 21",
"ar_f_name": "sample string 22",
"ar_f_add_1": "sample string 23",
"ar_f_add_2": "sample string 24",
"ar_f_add_3": "sample string 25",
"ar_program_id": "sample string 26",
"ar_created_by": 1,
"AR_F_CODE": "sample string 27",
"AR_NAME_F": "sample string 28",
"AR_F_ADDRESS": "sample string 29",
"AR_TAN_NUM": "sample string 30",
"AR_COUNTRY_NAME": "sample string 31",
"AR_CITY_NAME": "sample string 32",
"AR_STATUS_NAME": "sample string 33",
"AR_STATE_NAME": "sample string 34",
"AR_CONSIGNER_FLAG": "sample string 35",
"AR_CONSIGNEE_FLAG": "sample string 36",
"AR_EMAIL_ALERT": [
{
"ARA_ID": 1,
"ARA_CP_ID": 1,
"ARA_CP_CODE": "sample string 1",
"ARA_TYPE": "sample string 2",
"ARA_TYPE_CODE": "sample string 3",
"ARA_EMAIL": "sample string 4"
},
{
"ARA_ID": 1,
"ARA_CP_ID": 1,
"ARA_CP_CODE": "sample string 1",
"ARA_TYPE": "sample string 2",
"ARA_TYPE_CODE": "sample string 3",
"ARA_EMAIL": "sample string 4"
}
],
"AR_NOTES_DETAILS": [
{
"GN_ID": 1,
"GN_AR_TYPE": "sample string 1",
"GN_AR_TYPE_CODE": "sample string 2",
"GN_NOTES": "sample string 3",
"GN_USER_ID": 1,
"GN_USER_CODE": "sample string 4",
"GN_CREATED_ON": "2025-12-06T04:24:13.757331+00:00",
"GN_CP_ID": 1,
"GN_CP_CODE": "sample string 5"
},
{
"GN_ID": 1,
"GN_AR_TYPE": "sample string 1",
"GN_AR_TYPE_CODE": "sample string 2",
"GN_NOTES": "sample string 3",
"GN_USER_ID": 1,
"GN_USER_CODE": "sample string 4",
"GN_CREATED_ON": "2025-12-06T04:24:13.757331+00:00",
"GN_CP_ID": 1,
"GN_CP_CODE": "sample string 5"
}
],
"AR_ATTACHMENT_DETAILS": [
{
"GAT_ID": 1,
"GAT_ATH_NAME": "sample string 1",
"GAT_FILE_NAME": "sample string 2",
"GAT_DETAILS": "sample string 3",
"GAT_USER_ID": 1,
"GAT_USER_CODE": "sample string 4",
"GAT_CREATED_ON": "2025-12-06T04:24:13.757331+00:00",
"GAT_CP_ID": 1,
"GAT_CP_CODE": "sample string 5"
},
{
"GAT_ID": 1,
"GAT_ATH_NAME": "sample string 1",
"GAT_FILE_NAME": "sample string 2",
"GAT_DETAILS": "sample string 3",
"GAT_USER_ID": 1,
"GAT_USER_CODE": "sample string 4",
"GAT_CREATED_ON": "2025-12-06T04:24:13.757331+00:00",
"GAT_CP_ID": 1,
"GAT_CP_CODE": "sample string 5"
}
],
"AR_CUST_ATTACH_DETAILS": [
{
"ARC_ID": 1,
"ARC_DOC_CODE": "sample string 1",
"ARC_DOC_NAME": "sample string 2",
"ARC_MANDATORY": "sample string 3",
"ARC_MANDATORY_CODE": "sample string 4",
"ARC_SCREEN_ID": 1,
"ARC_SCREEN_NAME": "sample string 5"
},
{
"ARC_ID": 1,
"ARC_DOC_CODE": "sample string 1",
"ARC_DOC_NAME": "sample string 2",
"ARC_MANDATORY": "sample string 3",
"ARC_MANDATORY_CODE": "sample string 4",
"ARC_SCREEN_ID": 1,
"ARC_SCREEN_NAME": "sample string 5"
}
],
"AR_CHA_BRANCH": [
{
"ABD_ID": 1,
"ABD_BRANCH_SL_NO": "sample string 1",
"ABD_BRANCH_CITY": "sample string 2",
"ABD_ADDRESS": "sample string 3",
"ABD_CITY": "sample string 4",
"ABD_STATE": 1,
"ABD_STATE_CODE": "sample string 5",
"ABD_STATE_NAME": "sample string 6",
"ABD_COUNTRY": 1,
"ABD_COUNTRY_CODE": "sample string 7",
"ABD_COUNTRY_NAME": "sample string 8",
"ABD_PIN_CODE": "sample string 9",
"ABD_GST_TYPE": "sample string 10",
"ABD_GST_TYPE_CODE": "sample string 11",
"ABD_GST_NO": "sample string 12",
"ABD_AD_ID": 1,
"ABD_AD_CODE": "sample string 13",
"ABD_CP_ID": 1,
"ABD_CP_CODE": "sample string 14"
},
{
"ABD_ID": 1,
"ABD_BRANCH_SL_NO": "sample string 1",
"ABD_BRANCH_CITY": "sample string 2",
"ABD_ADDRESS": "sample string 3",
"ABD_CITY": "sample string 4",
"ABD_STATE": 1,
"ABD_STATE_CODE": "sample string 5",
"ABD_STATE_NAME": "sample string 6",
"ABD_COUNTRY": 1,
"ABD_COUNTRY_CODE": "sample string 7",
"ABD_COUNTRY_NAME": "sample string 8",
"ABD_PIN_CODE": "sample string 9",
"ABD_GST_TYPE": "sample string 10",
"ABD_GST_TYPE_CODE": "sample string 11",
"ABD_GST_NO": "sample string 12",
"ABD_AD_ID": 1,
"ABD_AD_CODE": "sample string 13",
"ABD_CP_ID": 1,
"ABD_CP_CODE": "sample string 14"
}
],
"AR_IEC_NUM": "sample string 37",
"AR_CONSIGNEE_COUNTRY": 1,
"AR_BROKER_FLAG": "sample string 38",
"AR_PAGE_SIZE": 1,
"AR_PAGE": 1,
"AR_EXP_TYPE": "sample string 39",
"AR_CLASS": "sample string 40",
"AR_GST_TYPE": "sample string 41",
"AR_GST_TYPE_CODE": "sample string 42",
"AR_CUS_TYPE": "sample string 43",
"AR_ADDRESS_DETAILS": [
{
"AAD_ID": 1,
"AAD_CITY": 1,
"AAD_STATE": 1,
"AAD_COUNTRY": 1,
"AAD_PIN": 1.1,
"AAD_ADDRESS": "sample string 1"
},
{
"AAD_ID": 1,
"AAD_CITY": 1,
"AAD_STATE": 1,
"AAD_COUNTRY": 1,
"AAD_PIN": 1.1,
"AAD_ADDRESS": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<postcustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<AR_ADDRESS_DETAILS>
<AR_ADDRESS_DETAILS>
<AAD_ADDRESS>sample string 1</AAD_ADDRESS>
<AAD_CITY>1</AAD_CITY>
<AAD_COUNTRY>1</AAD_COUNTRY>
<AAD_ID>1</AAD_ID>
<AAD_PIN>1.1</AAD_PIN>
<AAD_STATE>1</AAD_STATE>
</AR_ADDRESS_DETAILS>
<AR_ADDRESS_DETAILS>
<AAD_ADDRESS>sample string 1</AAD_ADDRESS>
<AAD_CITY>1</AAD_CITY>
<AAD_COUNTRY>1</AAD_COUNTRY>
<AAD_ID>1</AAD_ID>
<AAD_PIN>1.1</AAD_PIN>
<AAD_STATE>1</AAD_STATE>
</AR_ADDRESS_DETAILS>
</AR_ADDRESS_DETAILS>
<AR_ATTACHMENT_DETAILS>
<PostARAttachment>
<GAT_ATH_NAME>sample string 1</GAT_ATH_NAME>
<GAT_CP_CODE>sample string 5</GAT_CP_CODE>
<GAT_CP_ID>1</GAT_CP_ID>
<GAT_CREATED_ON>2025-12-06T04:24:13.757331+00:00</GAT_CREATED_ON>
<GAT_DETAILS>sample string 3</GAT_DETAILS>
<GAT_FILE_NAME>sample string 2</GAT_FILE_NAME>
<GAT_ID>1</GAT_ID>
<GAT_USER_CODE>sample string 4</GAT_USER_CODE>
<GAT_USER_ID>1</GAT_USER_ID>
</PostARAttachment>
<PostARAttachment>
<GAT_ATH_NAME>sample string 1</GAT_ATH_NAME>
<GAT_CP_CODE>sample string 5</GAT_CP_CODE>
<GAT_CP_ID>1</GAT_CP_ID>
<GAT_CREATED_ON>2025-12-06T04:24:13.757331+00:00</GAT_CREATED_ON>
<GAT_DETAILS>sample string 3</GAT_DETAILS>
<GAT_FILE_NAME>sample string 2</GAT_FILE_NAME>
<GAT_ID>1</GAT_ID>
<GAT_USER_CODE>sample string 4</GAT_USER_CODE>
<GAT_USER_ID>1</GAT_USER_ID>
</PostARAttachment>
</AR_ATTACHMENT_DETAILS>
<AR_BROKER_FLAG>sample string 38</AR_BROKER_FLAG>
<AR_CHA_BRANCH>
<AR_CHA_BRANCH>
<ABD_ADDRESS>sample string 3</ABD_ADDRESS>
<ABD_AD_CODE>sample string 13</ABD_AD_CODE>
<ABD_AD_ID>1</ABD_AD_ID>
<ABD_BRANCH_CITY>sample string 2</ABD_BRANCH_CITY>
<ABD_BRANCH_SL_NO>sample string 1</ABD_BRANCH_SL_NO>
<ABD_CITY>sample string 4</ABD_CITY>
<ABD_COUNTRY>1</ABD_COUNTRY>
<ABD_COUNTRY_CODE>sample string 7</ABD_COUNTRY_CODE>
<ABD_COUNTRY_NAME>sample string 8</ABD_COUNTRY_NAME>
<ABD_CP_CODE>sample string 14</ABD_CP_CODE>
<ABD_CP_ID>1</ABD_CP_ID>
<ABD_GST_NO>sample string 12</ABD_GST_NO>
<ABD_GST_TYPE>sample string 10</ABD_GST_TYPE>
<ABD_GST_TYPE_CODE>sample string 11</ABD_GST_TYPE_CODE>
<ABD_ID>1</ABD_ID>
<ABD_PIN_CODE>sample string 9</ABD_PIN_CODE>
<ABD_STATE>1</ABD_STATE>
<ABD_STATE_CODE>sample string 5</ABD_STATE_CODE>
<ABD_STATE_NAME>sample string 6</ABD_STATE_NAME>
</AR_CHA_BRANCH>
<AR_CHA_BRANCH>
<ABD_ADDRESS>sample string 3</ABD_ADDRESS>
<ABD_AD_CODE>sample string 13</ABD_AD_CODE>
<ABD_AD_ID>1</ABD_AD_ID>
<ABD_BRANCH_CITY>sample string 2</ABD_BRANCH_CITY>
<ABD_BRANCH_SL_NO>sample string 1</ABD_BRANCH_SL_NO>
<ABD_CITY>sample string 4</ABD_CITY>
<ABD_COUNTRY>1</ABD_COUNTRY>
<ABD_COUNTRY_CODE>sample string 7</ABD_COUNTRY_CODE>
<ABD_COUNTRY_NAME>sample string 8</ABD_COUNTRY_NAME>
<ABD_CP_CODE>sample string 14</ABD_CP_CODE>
<ABD_CP_ID>1</ABD_CP_ID>
<ABD_GST_NO>sample string 12</ABD_GST_NO>
<ABD_GST_TYPE>sample string 10</ABD_GST_TYPE>
<ABD_GST_TYPE_CODE>sample string 11</ABD_GST_TYPE_CODE>
<ABD_ID>1</ABD_ID>
<ABD_PIN_CODE>sample string 9</ABD_PIN_CODE>
<ABD_STATE>1</ABD_STATE>
<ABD_STATE_CODE>sample string 5</ABD_STATE_CODE>
<ABD_STATE_NAME>sample string 6</ABD_STATE_NAME>
</AR_CHA_BRANCH>
</AR_CHA_BRANCH>
<AR_CITY_NAME>sample string 32</AR_CITY_NAME>
<AR_CLASS>sample string 40</AR_CLASS>
<AR_CONSIGNEE_COUNTRY>1</AR_CONSIGNEE_COUNTRY>
<AR_CONSIGNEE_FLAG>sample string 36</AR_CONSIGNEE_FLAG>
<AR_CONSIGNER_FLAG>sample string 35</AR_CONSIGNER_FLAG>
<AR_COUNTRY_NAME>sample string 31</AR_COUNTRY_NAME>
<AR_CUST_ATTACH_DETAILS>
<AR_CUST_ATTACH_XML>
<ARC_DOC_CODE>sample string 1</ARC_DOC_CODE>
<ARC_DOC_NAME>sample string 2</ARC_DOC_NAME>
<ARC_ID>1</ARC_ID>
<ARC_MANDATORY>sample string 3</ARC_MANDATORY>
<ARC_MANDATORY_CODE>sample string 4</ARC_MANDATORY_CODE>
<ARC_SCREEN_ID>1</ARC_SCREEN_ID>
<ARC_SCREEN_NAME>sample string 5</ARC_SCREEN_NAME>
</AR_CUST_ATTACH_XML>
<AR_CUST_ATTACH_XML>
<ARC_DOC_CODE>sample string 1</ARC_DOC_CODE>
<ARC_DOC_NAME>sample string 2</ARC_DOC_NAME>
<ARC_ID>1</ARC_ID>
<ARC_MANDATORY>sample string 3</ARC_MANDATORY>
<ARC_MANDATORY_CODE>sample string 4</ARC_MANDATORY_CODE>
<ARC_SCREEN_ID>1</ARC_SCREEN_ID>
<ARC_SCREEN_NAME>sample string 5</ARC_SCREEN_NAME>
</AR_CUST_ATTACH_XML>
</AR_CUST_ATTACH_DETAILS>
<AR_CUS_TYPE>sample string 43</AR_CUS_TYPE>
<AR_EMAIL_ALERT>
<CustomerEmail>
<ARA_CP_CODE>sample string 1</ARA_CP_CODE>
<ARA_CP_ID>1</ARA_CP_ID>
<ARA_EMAIL>sample string 4</ARA_EMAIL>
<ARA_ID>1</ARA_ID>
<ARA_TYPE>sample string 2</ARA_TYPE>
<ARA_TYPE_CODE>sample string 3</ARA_TYPE_CODE>
</CustomerEmail>
<CustomerEmail>
<ARA_CP_CODE>sample string 1</ARA_CP_CODE>
<ARA_CP_ID>1</ARA_CP_ID>
<ARA_EMAIL>sample string 4</ARA_EMAIL>
<ARA_ID>1</ARA_ID>
<ARA_TYPE>sample string 2</ARA_TYPE>
<ARA_TYPE_CODE>sample string 3</ARA_TYPE_CODE>
</CustomerEmail>
</AR_EMAIL_ALERT>
<AR_EXP_TYPE>sample string 39</AR_EXP_TYPE>
<AR_F_ADDRESS>sample string 29</AR_F_ADDRESS>
<AR_F_CODE>sample string 27</AR_F_CODE>
<AR_GST_TYPE>sample string 41</AR_GST_TYPE>
<AR_GST_TYPE_CODE>sample string 42</AR_GST_TYPE_CODE>
<AR_IEC_NUM>sample string 37</AR_IEC_NUM>
<AR_NAME_F>sample string 28</AR_NAME_F>
<AR_NOTES_DETAILS>
<CustomerNotes>
<GN_AR_TYPE>sample string 1</GN_AR_TYPE>
<GN_AR_TYPE_CODE>sample string 2</GN_AR_TYPE_CODE>
<GN_CP_CODE>sample string 5</GN_CP_CODE>
<GN_CP_ID>1</GN_CP_ID>
<GN_CREATED_ON>2025-12-06T04:24:13.757331+00:00</GN_CREATED_ON>
<GN_ID>1</GN_ID>
<GN_NOTES>sample string 3</GN_NOTES>
<GN_USER_CODE>sample string 4</GN_USER_CODE>
<GN_USER_ID>1</GN_USER_ID>
</CustomerNotes>
<CustomerNotes>
<GN_AR_TYPE>sample string 1</GN_AR_TYPE>
<GN_AR_TYPE_CODE>sample string 2</GN_AR_TYPE_CODE>
<GN_CP_CODE>sample string 5</GN_CP_CODE>
<GN_CP_ID>1</GN_CP_ID>
<GN_CREATED_ON>2025-12-06T04:24:13.757331+00:00</GN_CREATED_ON>
<GN_ID>1</GN_ID>
<GN_NOTES>sample string 3</GN_NOTES>
<GN_USER_CODE>sample string 4</GN_USER_CODE>
<GN_USER_ID>1</GN_USER_ID>
</CustomerNotes>
</AR_NOTES_DETAILS>
<AR_PAGE>1</AR_PAGE>
<AR_PAGE_SIZE>1</AR_PAGE_SIZE>
<AR_STATE_NAME>sample string 34</AR_STATE_NAME>
<AR_STATUS_NAME>sample string 33</AR_STATUS_NAME>
<AR_TAN_NUM>sample string 30</AR_TAN_NUM>
<ar_address>sample string 4</ar_address>
<ar_agency_flag>sample string 17</ar_agency_flag>
<ar_cfs_flag>sample string 16</ar_cfs_flag>
<ar_city>1</ar_city>
<ar_code>sample string 1</ar_code>
<ar_country>1</ar_country>
<ar_cp_id>1</ar_cp_id>
<ar_created_by>1</ar_created_by>
<ar_depot_flag>sample string 18</ar_depot_flag>
<ar_exporter_flag>sample string 13</ar_exporter_flag>
<ar_f_add_1>sample string 23</ar_f_add_1>
<ar_f_add_2>sample string 24</ar_f_add_2>
<ar_f_add_3>sample string 25</ar_f_add_3>
<ar_f_name>sample string 22</ar_f_name>
<ar_fax_num>sample string 7</ar_fax_num>
<ar_forwarder_flag>sample string 12</ar_forwarder_flag>
<ar_id>1</ar_id>
<ar_importer_flag>sample string 14</ar_importer_flag>
<ar_mail_id>sample string 8</ar_mail_id>
<ar_name>sample string 2</ar_name>
<ar_notes>sample string 11</ar_notes>
<ar_online_flag>sample string 20</ar_online_flag>
<ar_pin>sample string 5</ar_pin>
<ar_po_box>sample string 3</ar_po_box>
<ar_program_id>sample string 26</ar_program_id>
<ar_search>sample string 21</ar_search>
<ar_state>1</ar_state>
<ar_status>sample string 10</ar_status>
<ar_tax_id>sample string 9</ar_tax_id>
<ar_tel_num>sample string 6</ar_tel_num>
<ar_transport_flag>sample string 19</ar_transport_flag>
<ar_warehouse_flag>sample string 15</ar_warehouse_flag>
</postcustomer>
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. |