POST api/SyncRecord/SetSyncRecord

Request Information

URI Parameters

None.

Body Parameters

SyncRecordDto
NameDescriptionTypeAdditional information
JobBusinessType

JobBusinessType

None.

ShopId

integer

None.

Date

date

None.

InsertCount

integer

None.

UpdateCount

integer

None.

FailCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "JobBusinessType": 1,
  "ShopId": 1,
  "Date": "2026-08-11T21:22:35.5249206+08:00",
  "InsertCount": 1,
  "UpdateCount": 1,
  "FailCount": 1
}

application/xml, text/xml

Sample:
<SyncRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.AliExpress.Model.SyncRecords">
  <Date>2026-08-11T21:22:35.5249206+08:00</Date>
  <FailCount>1</FailCount>
  <InsertCount>1</InsertCount>
  <JobBusinessType>SyncOrder</JobBusinessType>
  <ShopId>1</ShopId>
  <UpdateCount>1</UpdateCount>
</SyncRecordDto>

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>