POST api/GetFileUrls/AssistImage

Request Information

URI Parameters

None.

Body Parameters

AssistImageReq
NameDescriptionTypeAdditional information
Model

string

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

ApiVer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Model": "sample string 1",
  "ProductId": 2,
  "Token": "sample string 3",
  "ChannalId": "sample string 4",
  "Version": "sample string 5",
  "language": "sample string 6",
  "ApiVer": 7
}

application/xml, text/xml

Sample:
<AssistImageReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <ApiVer xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">7</ApiVer>
  <ChannalId xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 4</ChannalId>
  <ProductId xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">2</ProductId>
  <Token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 3</Token>
  <Version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</Version>
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 6</language>
  <Model>sample string 1</Model>
</AssistImageReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AssistImageRes
NameDescriptionTypeAdditional information
ImageList

Collection of string

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ImageList": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<AssistImageRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <Message xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 1</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">2</Status>
  <ImageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ImageList>
</AssistImageRes>