POST Company/XYLogin
Request Information
URI Parameters
None.
Body Parameters
XYAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| company | string |
None. |
|
| account | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"company": "sample string 1",
"account": "sample string 2",
"password": "sample string 3"
}
application/xml, text/xml
Sample:
<XYAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.XY"> <Account>sample string 2</Account> <CompanyCode>sample string 1</CompanyCode> <Password>sample string 3</Password> </XYAccount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
XYLoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| respSerialNo | string |
None. |
|
| code | string |
None. |
|
| msg | string |
None. |
|
| traceId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"respSerialNo": "sample string 2",
"code": "sample string 3",
"msg": "sample string 4",
"traceId": "sample string 5"
}
application/xml, text/xml
Sample:
<XYLoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.XY"> <Message>sample string 4</Message> <ResultCode>sample string 3</ResultCode> <SerialNo>sample string 2</SerialNo> <TraceId>sample string 5</TraceId> <Token>sample string 1</Token> </XYLoginResponse>