POST api/Erp/Login
Request Information
URI Parameters
None.
Body Parameters
LoginInput| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.SYS.Entity.Login"> <name>sample string 1</name> <password>sample string 2</password> </LoginInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiData| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | Status |
None. |
|
| Data | Object |
None. |
|
| Error | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": {
"Success": true,
"ErrorCode": 2,
"Error": "sample string 3"
},
"Data": {},
"Error": "sample string 2",
"Success": true
}
application/xml, text/xml
Sample:
<ApiData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.Member.Entity">
<Data />
<Error>sample string 2</Error>
<Status>
<Error>sample string 3</Error>
<ErrorCode>2</ErrorCode>
<Success>true</Success>
</Status>
<Success>true</Success>
</ApiData>