POST api/Act/ApplyAuthorization
Request Information
URI Parameters
None.
Body Parameters
ApplyAuthorizationInput| Name | Description | Type | Additional information |
|---|---|---|---|
| OrgName | string |
None. |
|
| MacAddress | string |
None. |
|
| AuthorizationCode | string |
None. |
|
| CheckCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrgName": "sample string 1",
"MacAddress": "sample string 2",
"AuthorizationCode": "sample string 3",
"CheckCode": "sample string 4"
}
text/xml
Sample:
<ApplyAuthorizationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Act.Dtos.InputDtos"> <AuthorizationCode>sample string 3</AuthorizationCode> <CheckCode>sample string 4</CheckCode> <MacAddress>sample string 2</MacAddress> <OrgName>sample string 1</OrgName> </ApplyAuthorizationInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode | integer |
None. |
|
| Msg | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": 1,
"Msg": "sample string 2",
"Result": {}
}
text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking"> <Msg>sample string 2</Msg> <Result /> <RetCode>1</RetCode> </ServiceResult>