POST api/Values/MAddCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomersDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| ContactPerson | string |
None. |
|
| CNIC | string |
None. |
|
| Address | string |
None. |
|
| PhoneNo | string |
None. |
|
| MobileNo | string |
None. |
|
| OtherInfo | string |
None. |
|
| CreditLimit | decimal number |
None. |
|
| CustomerAccountID | integer |
None. |
|
| InActive | boolean |
None. |
|
| InvoiceTypeID | integer |
None. |
|
| RegionID | integer |
None. |
|
| BirthdayMonth | date |
None. |
|
| string |
None. |
||
| CreatedDate | date |
None. |
|
| CreatedBY | integer |
None. |
|
| ModifyBY | integer |
None. |
|
| ModifyDate | date |
None. |
|
| LocationID | integer |
None. |
|
| CustomerInitial | string |
None. |
|
| IsSynchronize | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"CustomerName": "sample string 2",
"ContactPerson": "sample string 3",
"CNIC": "sample string 4",
"Address": "sample string 5",
"PhoneNo": "sample string 6",
"MobileNo": "sample string 7",
"OtherInfo": "sample string 8",
"CreditLimit": 9.0,
"CustomerAccountID": 10,
"InActive": true,
"InvoiceTypeID": 12,
"RegionID": 13,
"BirthdayMonth": "2026-09-16T19:04:37.9938979+05:00",
"Email": "sample string 14",
"CreatedDate": "2026-09-16T19:04:37.9938979+05:00",
"CreatedBY": 16,
"ModifyBY": 17,
"ModifyDate": "2026-09-16T19:04:37.9938979+05:00",
"LocationID": 19,
"CustomerInitial": "sample string 20",
"IsSynchronize": true
}
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. |