POST api/Customers/SavePermissions
Request Information
URI Parameters
None.
Body Parameters
PermissionsToCust| Name | Description | Type | Additional information |
|---|---|---|---|
| PermissionsToCust_code | integer |
None. |
|
| cust_num | integer |
None. |
|
| emp_code | integer |
None. |
|
| branch_code | integer |
None. |
|
| level | integer |
None. |
|
| expiration_date | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"PermissionsToCust_code": 1,
"cust_num": 2,
"emp_code": 1,
"branch_code": 1,
"level": 3,
"expiration_date": "2026-04-17T14:29:49.8428902+03:00"
}
application/xml, text/xml
Sample:
<PermissionsToCust xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <PermissionsToCust_code>1</PermissionsToCust_code> <branch_code>1</branch_code> <cust_num>2</cust_num> <emp_code>1</emp_code> <expiration_date>2026-04-17T14:29:49.8428902+03:00</expiration_date> <level>3</level> </PermissionsToCust>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
PermissionsToCust| Name | Description | Type | Additional information |
|---|---|---|---|
| PermissionsToCust_code | integer |
None. |
|
| cust_num | integer |
None. |
|
| emp_code | integer |
None. |
|
| branch_code | integer |
None. |
|
| level | integer |
None. |
|
| expiration_date | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"PermissionsToCust_code": 1,
"cust_num": 2,
"emp_code": 1,
"branch_code": 1,
"level": 3,
"expiration_date": "2026-04-17T14:29:49.846894+03:00"
}
application/xml, text/xml
Sample:
<PermissionsToCust xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <PermissionsToCust_code>1</PermissionsToCust_code> <branch_code>1</branch_code> <cust_num>2</cust_num> <emp_code>1</emp_code> <expiration_date>2026-04-17T14:29:49.846894+03:00</expiration_date> <level>3</level> </PermissionsToCust>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.