POST api/AppInfo/GetAppInfoByAccountId

Request Information

URI Parameters

None.

Body Parameters

BaseReqOfInt32
NameDescriptionTypeAdditional information
Req

integer

None.

Method

string

Required

ClientType

ClientType

Required

ClientVersion

string

Required

ClientDeviceVersion

string

Required

ClientDeviceNo

string

Required

ClientOSVersion

string

None.

Timestamp

date

Required

Token

string

None.

Sign

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Req": 1,
  "Method": "sample string 2",
  "ClientType": 0,
  "ClientVersion": "sample string 3",
  "ClientDeviceVersion": "sample string 4",
  "ClientDeviceNo": "sample string 5",
  "ClientOSVersion": "sample string 6",
  "Timestamp": "2022-06-25 09:29:53:818",
  "Token": "sample string 8",
  "Sign": "sample string 9"
}

application/xml, text/xml

Sample:
<BaseReqOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Common.Soa.Models">
  <ClientDeviceNo>sample string 5</ClientDeviceNo>
  <ClientDeviceVersion>sample string 4</ClientDeviceVersion>
  <ClientOSVersion>sample string 6</ClientOSVersion>
  <ClientType>Unknown</ClientType>
  <ClientVersion>sample string 3</ClientVersion>
  <Method>sample string 2</Method>
  <Sign>sample string 9</Sign>
  <Timestamp>2022-06-25T09:29:53.8186435+08:00</Timestamp>
  <Token>sample string 8</Token>
  <Req>1</Req>
</BaseReqOfint>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BaseReq`1'.

Response Information

Resource Description

BaseRspOfAppInfo
NameDescriptionTypeAdditional information
Rsp

AppInfo

None.

Method

string

Required

Code

integer

Required

CodeStr

string

Required

CodeMsg

string

Required

ExtMsg

string

None.

ReqId

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Rsp": {
    "MerchantId": "sample string 1",
    "ChannelCode": "sample string 2",
    "AppId": "sample string 3",
    "AppName": "sample string 4",
    "PackName": "sample string 5",
    "ThirdOwnerType": 1,
    "AppKey": "sample string 6",
    "SafeDomain": "sample string 7",
    "SafeIpList": [
      "sample string 1",
      "sample string 2"
    ],
    "MessageNotifyUrl": "sample string 8",
    "RandomCode": "sample string 9",
    "IsValid": true,
    "CreateTime": "2022-06-25 09:29:53:818",
    "AuthFile": "sample string 12",
    "MainTitle": "sample string 13",
    "WeiXinAppId": "sample string 14"
  },
  "Method": "sample string 1",
  "Code": 2,
  "CodeStr": "sample string 3",
  "CodeMsg": "sample string 4",
  "ExtMsg": "sample string 5",
  "ReqId": "sample string 6"
}

application/xml, text/xml

Sample:
<BaseRspOfAppInfo_Pm_POof1D xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YJY.Common.Soa.Models">
  <Code>2</Code>
  <CodeMsg>sample string 4</CodeMsg>
  <CodeStr>sample string 3</CodeStr>
  <ExtMsg>sample string 5</ExtMsg>
  <Method>sample string 1</Method>
  <ReqId>sample string 6</ReqId>
  <Rsp xmlns:d2p1="http://schemas.datacontract.org/2004/07/YJY.Auth.Model">
    <d2p1:AppId>sample string 3</d2p1:AppId>
    <d2p1:AppKey>sample string 6</d2p1:AppKey>
    <d2p1:AppName>sample string 4</d2p1:AppName>
    <d2p1:AuthFile>sample string 12</d2p1:AuthFile>
    <d2p1:ChannelCode>sample string 2</d2p1:ChannelCode>
    <d2p1:CreateTime>2022-06-25T09:29:53.8186435+08:00</d2p1:CreateTime>
    <d2p1:IsValid>true</d2p1:IsValid>
    <d2p1:MainTitle>sample string 13</d2p1:MainTitle>
    <d2p1:MerchantId>sample string 1</d2p1:MerchantId>
    <d2p1:MessageNotifyUrl>sample string 8</d2p1:MessageNotifyUrl>
    <d2p1:PackName>sample string 5</d2p1:PackName>
    <d2p1:RandomCode>sample string 9</d2p1:RandomCode>
    <d2p1:SafeDomain>sample string 7</d2p1:SafeDomain>
    <d2p1:SafeIpList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:SafeIpList>
    <d2p1:ThirdOwnerType>WeiXin</d2p1:ThirdOwnerType>
    <d2p1:WeiXinAppId>sample string 14</d2p1:WeiXinAppId>
  </Rsp>
</BaseRspOfAppInfo_Pm_POof1D>