POST api/V3/Employee/AddEmployeeToken
Add a field user token
Request Information
URI Parameters
None.
Body Parameters
V3.EmployeeToken| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeErpId |
The ERP ID of the employee. |
string |
Required String length: inclusive between 0 and 50 |
| Token |
The Token of the employee. |
string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"EmployeeErpId": "sample string 1",
"Token": "sample string 2"
}
application/xml, text/xml
Sample:
<EmployeeToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models"> <EmployeeErpId>sample string 1</EmployeeErpId> <Token>sample string 2</Token> </EmployeeToken>
Response Information
Resource Description
ApiResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| ERPId |
ERPID of the Requested insertion/updation |
string |
None. |
| Message |
Error Message for the indicated ERPID |
string |
None. |
| ResponseStatus |
Status of the action requested from Api |
ResponseStatus |
None. |
| GUID |
GUID of the database Entry with respect to the ERP Id Provided |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ERPId": "sample string 1",
"Message": "sample string 2",
"ResponseStatus": "Failure",
"GUID": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.Common"> <ERPId>sample string 1</ERPId> <GUID>sample string 3</GUID> <Message>sample string 2</Message> <ResponseStatus>Failure</ResponseStatus> </ApiResponseMessage>