POST api/Users/Detail/AddUserPermission?EmployeeNumber={EmployeeNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeNumber | string |
Required |
Body Parameters
DTO_CM_EDATE| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_ID | string |
None. |
|
| CONTENT_LIST_ID | string |
None. |
|
| EFFECTIVITY_DATE | string |
None. |
|
| EXPIRATION_DATE | string |
None. |
|
| ALLOWED | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"USER_ID": "sample string 1",
"CONTENT_LIST_ID": "sample string 2",
"EFFECTIVITY_DATE": "sample string 3",
"EXPIRATION_DATE": "sample string 4",
"ALLOWED": true
}
application/xml, text/xml
Sample:
<DTO_CM_EDATE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MTBooking.Web.API.DTO"> <ALLOWED>true</ALLOWED> <CONTENT_LIST_ID>sample string 2</CONTENT_LIST_ID> <EFFECTIVITY_DATE>sample string 3</EFFECTIVITY_DATE> <EXPIRATION_DATE>sample string 4</EXPIRATION_DATE> <USER_ID>sample string 1</USER_ID> </DTO_CM_EDATE>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | Status |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"Description": "sample string 1"
}
application/xml, text/xml
Sample:
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MTBooking.Web.API.Models"> <Description>sample string 1</Description> <Status>Ok</Status> </RequestModel>