POST jxc_api/Offset/Update

Request Information

URI Parameters

None.

Body Parameters

OffsetEditModel
NameDescriptionTypeAdditional information
AsId

integer

None.

Date

date

None.

BType

OFType

None.

Id

integer

None.

No

string

None.

Org1

integer

None.

Org2

integer

None.

PrintCount

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.

IsChecked

integer

None.

CheckedBy

integer

None.

CheckedByName

string

None.

CheckedDate

date

None.

AutoGenerate

boolean

None.

Items

Collection of OffsetEntryEditModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2024-04-19 16:11:47",
  "BType": 1010,
  "Id": 3,
  "No": "sample string 4",
  "Org1": 5,
  "Org2": 6,
  "PrintCount": 1,
  "Note": "sample string 7",
  "CreatedBy": 8,
  "CreatedDate": "2024-04-19 16:11:47",
  "ModifiedBy": 10,
  "ModifiedDate": "2024-04-19 16:11:47",
  "Org1Name": "sample string 12",
  "Org2Name": "sample string 13",
  "CreatedByName": "sample string 14",
  "ModifiedByName": "sample string 15",
  "IsChecked": 16,
  "CheckedBy": 17,
  "CheckedByName": "sample string 18",
  "CheckedDate": "2024-04-19 16:11:47",
  "AutoGenerate": true,
  "Items": [
    {
      "AsId": 1,
      "Date": "2024-04-19 16:11:47",
      "BType": 1010,
      "OFId": 3,
      "OFNo": "sample string 4",
      "Id": 5,
      "Flag": 6,
      "BillId": 7,
      "BillNo": "sample string 8",
      "BillBType": 1010,
      "BillDate": "2024-04-19 16:11:47",
      "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": "2024-04-19 16:11:47",
      "BType": 1010,
      "OFId": 3,
      "OFNo": "sample string 4",
      "Id": 5,
      "Flag": 6,
      "BillId": 7,
      "BillNo": "sample string 8",
      "BillBType": 1010,
      "BillDate": "2024-04-19 16:11:47",
      "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>
  <AutoGenerate>true</AutoGenerate>
  <BType>PreOFRec</BType>
  <CheckedBy>17</CheckedBy>
  <CheckedByName>sample string 18</CheckedByName>
  <CheckedDate>2024-04-19T16:11:47.1607597+08:00</CheckedDate>
  <CreatedBy>8</CreatedBy>
  <CreatedByName>sample string 14</CreatedByName>
  <CreatedDate>2024-04-19T16:11:47.1607597+08:00</CreatedDate>
  <Date>2024-04-19T16:11:47.1607597+08:00</Date>
  <Id>3</Id>
  <IsChecked>16</IsChecked>
  <Items>
    <OffsetEntryEditModel>
      <AsId>1</AsId>
      <BType>PreOFRec</BType>
      <BillAmount>10</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2024-04-19T16:11:47.1607597+08:00</BillDate>
      <BillId>7</BillId>
      <BillNo>sample string 8</BillNo>
      <BillOFAmount>11</BillOFAmount>
      <BillOFDAmount>12</BillOFDAmount>
      <BillOFUAmount>13</BillOFUAmount>
      <Date>2024-04-19T16:11:47.1607597+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>2024-04-19T16:11:47.1607597+08:00</BillDate>
      <BillId>7</BillId>
      <BillNo>sample string 8</BillNo>
      <BillOFAmount>11</BillOFAmount>
      <BillOFDAmount>12</BillOFDAmount>
      <BillOFUAmount>13</BillOFUAmount>
      <Date>2024-04-19T16:11:47.1607597+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>2024-04-19T16:11:47.1607597+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>
  <PrintCount>1</PrintCount>
</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/" />