POST api/User/ApproveUser
Request Information
URI Parameters
None.
Body Parameters
ApprovalDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| empID | integer |
None. |
|
| jobTitle | string |
None. |
|
| projectName | string |
None. |
|
| clientName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"empID": 1,
"jobTitle": "sample string 2",
"projectName": "sample string 3",
"clientName": "sample string 4"
}
application/xml, text/xml
Sample:
<ApprovalDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Supplier.NlfApi.DataAccess.SleekObjects"> <clientName>sample string 4</clientName> <empID>1</empID> <jobTitle>sample string 2</jobTitle> <projectName>sample string 3</projectName> </ApprovalDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | string |
None. |
|
| Message | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": "sample string 1",
"Message": {},
"Data": {}
}
application/xml, text/xml
Sample:
<ResponseStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Supplier.NlfApi.DataAccess.SleekObjects"> <Data /> <Message /> <StatusCode>sample string 1</StatusCode> </ResponseStatus>