POST jxc_api/Offset/Update

修改核销单

Request Information

URI Parameters

None.

Body Parameters

核销单信息

OffsetEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

Date

单据日期

date

None.

BType

核销类型

OFType

None.

Id

单据ID

integer

None.

No

单据编号

string

None.

Org1

客户或供应商ID

integer

None.

Org2

客户或供应商ID

integer

None.

Note

备注

string

None.

CreatedBy

制单人

integer

None.

CreatedDate

制单日期

date

None.

ModifiedBy

修改人

integer

None.

ModifiedDate

修改日期

date

None.

Org1Name

客户或供应商名称

string

None.

Org2Name

客户或供应商名称

string

None.

CreatedByName

制单人名称

string

None.

ModifiedByName

修改人名称

string

None.

Items

核销单条目

Collection of OffsetEntryEditModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2021-09-19 01:47:29",
  "BType": 1010,
  "Id": 3,
  "No": "sample string 4",
  "Org1": 5,
  "Org2": 6,
  "Note": "sample string 7",
  "CreatedBy": 8,
  "CreatedDate": "2021-09-19 01:47:29",
  "ModifiedBy": 10,
  "ModifiedDate": "2021-09-19 01:47:29",
  "Org1Name": "sample string 12",
  "Org2Name": "sample string 13",
  "CreatedByName": "sample string 14",
  "ModifiedByName": "sample string 15",
  "Items": [
    {
      "AsId": 1,
      "Date": "2021-09-19 01:47:29",
      "BType": 1010,
      "OFId": 3,
      "OFNo": "sample string 4",
      "Id": 5,
      "Flag": 6,
      "BillId": 7,
      "BillNo": "sample string 8",
      "BillBType": 1010,
      "BillDate": "2021-09-19 01:47:29",
      "BillAmount": 10.0,
      "BillOFAmount": 11.0,
      "BillOFDAmount": 12.0,
      "BillOFUAmount": 13.0,
      "Org1": 14,
      "Org2": 15,
      "StrValue1": "sample string 16",
      "StrValue2": "sample string 17",
      "StrValue3": "sample string 18",
      "StrValue4": "sample string 19",
      "StrValue5": "sample string 20",
      "StrValue6": "sample string 21",
      "StrValue7": "sample string 22",
      "StrValue8": "sample string 23"
    },
    {
      "AsId": 1,
      "Date": "2021-09-19 01:47:29",
      "BType": 1010,
      "OFId": 3,
      "OFNo": "sample string 4",
      "Id": 5,
      "Flag": 6,
      "BillId": 7,
      "BillNo": "sample string 8",
      "BillBType": 1010,
      "BillDate": "2021-09-19 01:47:29",
      "BillAmount": 10.0,
      "BillOFAmount": 11.0,
      "BillOFDAmount": 12.0,
      "BillOFUAmount": 13.0,
      "Org1": 14,
      "Org2": 15,
      "StrValue1": "sample string 16",
      "StrValue2": "sample string 17",
      "StrValue3": "sample string 18",
      "StrValue4": "sample string 19",
      "StrValue5": "sample string 20",
      "StrValue6": "sample string 21",
      "StrValue7": "sample string 22",
      "StrValue8": "sample string 23"
    }
  ]
}

application/xml, text/xml

Sample:
<OffsetEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <AsId>1</AsId>
  <BType>PreOFRec</BType>
  <CreatedBy>8</CreatedBy>
  <CreatedByName>sample string 14</CreatedByName>
  <CreatedDate>2021-09-19T01:47:29.2319804+08:00</CreatedDate>
  <Date>2021-09-19T01:47:29.2319804+08:00</Date>
  <Id>3</Id>
  <Items>
    <OffsetEntryEditModel>
      <AsId>1</AsId>
      <BType>PreOFRec</BType>
      <BillAmount>10</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2021-09-19T01:47:29.2319804+08:00</BillDate>
      <BillId>7</BillId>
      <BillNo>sample string 8</BillNo>
      <BillOFAmount>11</BillOFAmount>
      <BillOFDAmount>12</BillOFDAmount>
      <BillOFUAmount>13</BillOFUAmount>
      <Date>2021-09-19T01:47:29.2319804+08:00</Date>
      <Flag>6</Flag>
      <Id>5</Id>
      <OFId>3</OFId>
      <OFNo>sample string 4</OFNo>
      <Org1>14</Org1>
      <Org2>15</Org2>
      <StrValue1>sample string 16</StrValue1>
      <StrValue2>sample string 17</StrValue2>
      <StrValue3>sample string 18</StrValue3>
      <StrValue4>sample string 19</StrValue4>
      <StrValue5>sample string 20</StrValue5>
      <StrValue6>sample string 21</StrValue6>
      <StrValue7>sample string 22</StrValue7>
      <StrValue8>sample string 23</StrValue8>
    </OffsetEntryEditModel>
    <OffsetEntryEditModel>
      <AsId>1</AsId>
      <BType>PreOFRec</BType>
      <BillAmount>10</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2021-09-19T01:47:29.2319804+08:00</BillDate>
      <BillId>7</BillId>
      <BillNo>sample string 8</BillNo>
      <BillOFAmount>11</BillOFAmount>
      <BillOFDAmount>12</BillOFDAmount>
      <BillOFUAmount>13</BillOFUAmount>
      <Date>2021-09-19T01:47:29.2319804+08:00</Date>
      <Flag>6</Flag>
      <Id>5</Id>
      <OFId>3</OFId>
      <OFNo>sample string 4</OFNo>
      <Org1>14</Org1>
      <Org2>15</Org2>
      <StrValue1>sample string 16</StrValue1>
      <StrValue2>sample string 17</StrValue2>
      <StrValue3>sample string 18</StrValue3>
      <StrValue4>sample string 19</StrValue4>
      <StrValue5>sample string 20</StrValue5>
      <StrValue6>sample string 21</StrValue6>
      <StrValue7>sample string 22</StrValue7>
      <StrValue8>sample string 23</StrValue8>
    </OffsetEntryEditModel>
  </Items>
  <ModifiedBy>10</ModifiedBy>
  <ModifiedByName>sample string 15</ModifiedByName>
  <ModifiedDate>2021-09-19T01:47:29.2319804+08:00</ModifiedDate>
  <No>sample string 4</No>
  <Note>sample string 7</Note>
  <Org1>5</Org1>
  <Org1Name>sample string 12</Org1Name>
  <Org2>6</Org2>
  <Org2Name>sample string 13</Org2Name>
</OffsetEditModel>

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