POST api/Customer/PostCustomer
Request Information
URI Parameters
None.
Body Parameters
postcustomerName | 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. |
|
CustomerEmail | Collection of CustomerEmail |
None. |
|
CustomerNotes | Collection of CustomerNotes |
None. |
|
PostARAttachment | Collection of PostARAttachment |
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, "CustomerEmail": [ { "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" } ], "CustomerNotes": [ { "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-04-29T15:22:43.5979795+05:30", "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-04-29T15:22:43.5979795+05:30", "GN_CP_ID": 1, "GN_CP_CODE": "sample string 5" } ], "PostARAttachment": [ { "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-04-29T15:22:43.5979795+05:30", "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-04-29T15:22:43.5979795+05:30", "GAT_CP_ID": 1, "GAT_CP_CODE": "sample string 5" } ] }
application/xml, text/xml
Sample:
<postcustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <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> <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> <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-04-29T15:22:43.5979795+05:30</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-04-29T15:22:43.5979795+05:30</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> <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-04-29T15:22:43.5979795+05:30</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-04-29T15:22:43.5979795+05:30</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> <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
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. |