POST api/OCCollections/SaveOCollections_load

Request Information

URI Parameters

None.

Body Parameters

ReadDTOOfReadSaveOCCollections_new
NameDescriptionTypeAdditional information
data

ReadSaveOCCollections_new

None.

PageSize

integer

None.

PageIndex

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "id": 1,
    "CustomerID": 2,
    "tel": "sample string 3",
    "collections_way": 4,
    "collections_money": 5.0,
    "remark": "sample string 6",
    "UserID": 7,
    "statue": 8,
    "upd_date": "sample string 9",
    "_Details": [
      {
        "id": 1,
        "z_id": 2,
        "out_id": 3,
        "payment_money": 4.0,
        "paid_money": 5.0,
        "remark": "sample string 6",
        "collections_flag": 7
      },
      {
        "id": 1,
        "z_id": 2,
        "out_id": 3,
        "payment_money": 4.0,
        "paid_money": 5.0,
        "remark": "sample string 6",
        "collections_flag": 7
      }
    ]
  },
  "PageSize": 1,
  "PageIndex": 2
}

application/xml, text/xml

Sample:
<ReadDTOOfReadSaveOCCollections_newcc8wrA37 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ReadModels">
    <d2p1:CustomerID>2</d2p1:CustomerID>
    <d2p1:UserID>7</d2p1:UserID>
    <d2p1:_Details>
      <d2p1:ReadSaveOCCollections_Detail_new>
        <d2p1:collections_flag>7</d2p1:collections_flag>
        <d2p1:id>1</d2p1:id>
        <d2p1:out_id>3</d2p1:out_id>
        <d2p1:paid_money>5</d2p1:paid_money>
        <d2p1:payment_money>4</d2p1:payment_money>
        <d2p1:remark>sample string 6</d2p1:remark>
        <d2p1:z_id>2</d2p1:z_id>
      </d2p1:ReadSaveOCCollections_Detail_new>
      <d2p1:ReadSaveOCCollections_Detail_new>
        <d2p1:collections_flag>7</d2p1:collections_flag>
        <d2p1:id>1</d2p1:id>
        <d2p1:out_id>3</d2p1:out_id>
        <d2p1:paid_money>5</d2p1:paid_money>
        <d2p1:payment_money>4</d2p1:payment_money>
        <d2p1:remark>sample string 6</d2p1:remark>
        <d2p1:z_id>2</d2p1:z_id>
      </d2p1:ReadSaveOCCollections_Detail_new>
    </d2p1:_Details>
    <d2p1:collections_money>5</d2p1:collections_money>
    <d2p1:collections_way>4</d2p1:collections_way>
    <d2p1:id>1</d2p1:id>
    <d2p1:remark>sample string 6</d2p1:remark>
    <d2p1:statue>8</d2p1:statue>
    <d2p1:tel>sample string 3</d2p1:tel>
    <d2p1:upd_date>sample string 9</d2p1:upd_date>
  </data>
</ReadDTOOfReadSaveOCCollections_newcc8wrA37>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultDTOOfObject
NameDescriptionTypeAdditional information
code

integer

None.

data

Object

None.

msg

string

None.

Exception

Object

None.

Exception1

Object

None.

count

integer

None.

PageSize

integer

None.

PageIndex

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "data": {},
  "msg": "sample string 3",
  "Exception": {},
  "Exception1": {},
  "count": 6,
  "PageSize": 7,
  "PageIndex": 8
}

application/xml, text/xml

Sample:
<ResultDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
  <Exception />
  <Exception1 />
  <PageIndex>8</PageIndex>
  <PageSize>7</PageSize>
  <code>1</code>
  <count>6</count>
  <data />
  <msg>sample string 3</msg>
</ResultDTOOfanyType>