POST jxc_api/CustomerInitialBalance/SyncCost

Request Information

URI Parameters

None.

Body Parameters

SyncCostPara
NameDescriptionTypeAdditional information
IsConfirm

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IsConfirm": true
}

application/xml, text/xml

Sample:
<SyncCostPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <IsConfirm>true</IsConfirm>
</SyncCostPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SyncCostResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

NeedConfirm

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "NeedConfirm": true,
  "Message": "sample string 3",
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<SyncCostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <NeedConfirm>true</NeedConfirm>
</SyncCostResult>