POST jxc_api/JournalPayment/AutoOffset

Request Information

URI Parameters

None.

Body Parameters

AutoOffsetPara
NameDescriptionTypeAdditional information
AsId

integer

None.

AccAsId

integer

None.

IsManual

integer

None.

Permission

OffsetRelatedPermission

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "AccAsId": 2,
  "IsManual": 3,
  "Permission": {
    "HaveWhsPermission": true,
    "HaveWhsrPermission": true,
    "HaveOpPermission": true,
    "HaveSdPermission": true,
    "HaveSrPermission": true,
    "HaveOrPermission": true,
    "HaveCustPermission": true,
    "HaveVendPermission": true,
    "HaveOfPermission": true
  }
}

application/xml, text/xml

Sample:
<AutoOffsetPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Money.Journal">
  <AccAsId>2</AccAsId>
  <AsId>1</AsId>
  <IsManual>3</IsManual>
  <Permission xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
    <d2p1:HaveCustPermission>true</d2p1:HaveCustPermission>
    <d2p1:HaveOfPermission>true</d2p1:HaveOfPermission>
    <d2p1:HaveOpPermission>true</d2p1:HaveOpPermission>
    <d2p1:HaveOrPermission>true</d2p1:HaveOrPermission>
    <d2p1:HaveSdPermission>true</d2p1:HaveSdPermission>
    <d2p1:HaveSrPermission>true</d2p1:HaveSrPermission>
    <d2p1:HaveVendPermission>true</d2p1:HaveVendPermission>
    <d2p1:HaveWhsPermission>true</d2p1:HaveWhsPermission>
    <d2p1:HaveWhsrPermission>true</d2p1:HaveWhsrPermission>
  </Permission>
</AutoOffsetPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />