POST api/WeChatApp/JLB_SaveAuthCode?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
获取授权码列表 生成授权码
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
SaveJLB_AuthCodeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DealerID | string |
None. |
|
| DutyKey | string |
None. |
|
| MaxUserCount | integer |
None. |
|
| EffectiveTime | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DealerID": "sample string 1",
"DutyKey": "sample string 2",
"MaxUserCount": 3,
"EffectiveTime": 4
}
application/xml, text/xml
Sample:
<SaveJLB_AuthCodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <DealerID>sample string 1</DealerID> <DutyKey>sample string 2</DutyKey> <EffectiveTime>4</EffectiveTime> <MaxUserCount>3</MaxUserCount> </SaveJLB_AuthCodeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModelOfanyType>