POST jxc_api/JournalReceipt/OppositeOffset

Request Information

URI Parameters

None.

Body Parameters

JofOppsiteEditModel
NameDescriptionTypeAdditional information
OfMode

integer

None.

BillItems

Collection of JofSourceEntryEditModel

None.

PayeeType

ContactType

None.

Request Formats

application/json, text/json

Sample:
{
  "OfMode": 1,
  "BillItems": [
    {
      "PayeeType": 1010,
      "VcId": 1,
      "BillDate": "2024-11-25 03:05:00",
      "BillBType": 1010,
      "Id": 3,
      "BillNo": "sample string 4",
      "BillAmount": 5.0,
      "BillOFDAmount": 6.0,
      "BillOFUAmount": 7.0,
      "BillOFAmount": 8.0,
      "InitBillOFUAmount": -1.0
    },
    {
      "PayeeType": 1010,
      "VcId": 1,
      "BillDate": "2024-11-25 03:05:00",
      "BillBType": 1010,
      "Id": 3,
      "BillNo": "sample string 4",
      "BillAmount": 5.0,
      "BillOFDAmount": 6.0,
      "BillOFUAmount": 7.0,
      "BillOFAmount": 8.0,
      "InitBillOFUAmount": -1.0
    }
  ],
  "PayeeType": 1010
}

application/xml, text/xml

Sample:
<JofOppsiteEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <BillItems>
    <JofSourceEntryEditModel>
      <BillAmount>5</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2024-11-25T03:05:00.9257387+08:00</BillDate>
      <BillNo>sample string 4</BillNo>
      <BillOFAmount>8</BillOFAmount>
      <BillOFDAmount>6</BillOFDAmount>
      <BillOFUAmount>7</BillOFUAmount>
      <Id>3</Id>
      <PayeeType>Customer</PayeeType>
      <VcId>1</VcId>
    </JofSourceEntryEditModel>
    <JofSourceEntryEditModel>
      <BillAmount>5</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2024-11-25T03:05:00.9257387+08:00</BillDate>
      <BillNo>sample string 4</BillNo>
      <BillOFAmount>8</BillOFAmount>
      <BillOFDAmount>6</BillOFDAmount>
      <BillOFUAmount>7</BillOFUAmount>
      <Id>3</Id>
      <PayeeType>Customer</PayeeType>
      <VcId>1</VcId>
    </JofSourceEntryEditModel>
  </BillItems>
  <OfMode>1</OfMode>
  <PayeeType>Customer</PayeeType>
</JofOppsiteEditModel>

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/" />