POST api/ProductJobRegister/PublishAliProduct

Request Information

URI Parameters

None.

Body Parameters

Collection of PublishAliProductDto
NameDescriptionTypeAdditional information
ShopId

integer

None.

ProductId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ShopId": 1,
    "ProductId": "c501ce43-16b6-4db5-989b-dcca9a6affdc"
  },
  {
    "ShopId": 1,
    "ProductId": "c501ce43-16b6-4db5-989b-dcca9a6affdc"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPublishAliProductDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.AliExpress.Model.Products">
  <PublishAliProductDto>
    <ProductId>c501ce43-16b6-4db5-989b-dcca9a6affdc</ProductId>
    <ShopId>1</ShopId>
  </PublishAliProductDto>
  <PublishAliProductDto>
    <ProductId>c501ce43-16b6-4db5-989b-dcca9a6affdc</ProductId>
    <ShopId>1</ShopId>
  </PublishAliProductDto>
</ArrayOfPublishAliProductDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": true
}

application/xml, text/xml

Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.AliExpress.Api.Models">
  <Data>true</Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfboolean>