POST api/ApiReactMehriza/SubmitNewAndEditCustomer
Request Information
URI Parameters
None.
Body Parameters
tbl_customer| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
String length: inclusive between 0 and 30 |
|
| family | string |
String length: inclusive between 0 and 50 |
|
| code | string |
String length: inclusive between 0 and 10 |
|
| mobile | string |
String length: inclusive between 0 and 11 |
|
| city | string |
String length: inclusive between 0 and 20 |
|
| datestart | string |
String length: inclusive between 0 and 15 |
|
| mojoodi | decimal number |
None. |
|
| isetebar | integer |
None. |
|
| etebarfood | decimal number |
None. |
|
| idseller | integer |
None. |
|
| address | string |
String length: inclusive between 0 and 500 |
|
| gender | string |
String length: inclusive between 0 and 1 |
|
| isdelete | integer |
None. |
|
| isorder | integer |
None. |
|
| dateorder | string |
String length: inclusive between 0 and 10 |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"family": "sample string 3",
"code": "sample string 4",
"mobile": "sample string 5",
"city": "sample string 6",
"datestart": "sample string 7",
"mojoodi": 1.0,
"isetebar": 1,
"etebarfood": 1.0,
"idseller": 1,
"address": "sample string 8",
"gender": "sample string 9",
"isdelete": 1,
"isorder": 1,
"dateorder": "sample string 10"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.