POST jxc_api/OtherPaymentList/RelateBill

Request Information

URI Parameters

None.

Body Parameters

ArrayRelationModel
NameDescriptionTypeAdditional information
items

Collection of OtherPaymentListModel

None.

BillItems

Collection of RelationBills

None.

ExpItems

Collection of ExpenseDbModel

None.

ShareRule

ShareRule

None.

IsRelate

boolean

None.

IsCustPayment

boolean

None.

RelationId

integer

None.

RelationNo

string

None.

Btype

BillType

None.

ids

Collection of integer

None.

DetailId

Collection of integer

None.

ForcePassCredit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "items": [
    null,
    {
      "InvoiceAmount": 1.0,
      "InvoiceNos": "sample string 2",
      "PrintCount": 3,
      "AsId": 4,
      "Date": "2024-11-25 02:30:47",
      "DateFmt": "2024-11-25",
      "VendId": 0,
      "Id": 0,
      "No": null,
      "Operator": 0,
      "Amount": 0.0,
      "Tax": 0.0,
      "AmountTax": 0.0,
      "DiscAmount": 0.0,
      "AmountFirst": 0.0,
      "CustPayment": 0.0,
      "AcId": 0,
      "Note": null,
      "IsChecked": 0,
      "Checked": false,
      "ShareExpense": 0,
      "CreatedBy": 0,
      "CreatedDate": "0001-01-01 00:00:00",
      "ModifiedBy": 0,
      "ModifiedDate": "0001-01-01 00:00:00",
      "CheckedBy": 0,
      "CheckedDate": "0001-01-01 00:00:00",
      "Items": [],
      "Item": [],
      "OrpType": 3080,
      "index": 0,
      "ExpenseType": 0,
      "PayeeType": 0,
      "PayeeId": 0,
      "CustId": 0,
      "AccountingItemName": null,
      "DepartmentName": null,
      "PayeeTypeName": null,
      "ExpenseTypeName": null,
      "CustomerName": null
    }
  ],
  "BillItems": [
    {
      "RelationId": 1,
      "RelationNo": "sample string 2",
      "Btype": 1010
    },
    {
      "RelationId": 1,
      "RelationNo": "sample string 2",
      "Btype": 1010
    }
  ],
  "ExpItems": [
    {
      "Id": 1,
      "BillId": 2,
      "BillNo": "sample string 3",
      "BillType": 1010,
      "VendId": 4,
      "ExpType": 5,
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "TaxRate": 8.0,
      "Tax": 9.0,
      "AmountTax": 10.0,
      "CustPayment": 11.0,
      "PayeeId": 12,
      "SumAmount": 13.0,
      "ExpPid": 14,
      "BillDate": "2024-11-25 02:30:47",
      "PayedStatus": 16,
      "SumCustAmount": 17.0,
      "IsCustPayment": true,
      "OrpeId": 19
    },
    {
      "Id": 1,
      "BillId": 2,
      "BillNo": "sample string 3",
      "BillType": 1010,
      "VendId": 4,
      "ExpType": 5,
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "TaxRate": 8.0,
      "Tax": 9.0,
      "AmountTax": 10.0,
      "CustPayment": 11.0,
      "PayeeId": 12,
      "SumAmount": 13.0,
      "ExpPid": 14,
      "BillDate": "2024-11-25 02:30:47",
      "PayedStatus": 16,
      "SumCustAmount": 17.0,
      "IsCustPayment": true,
      "OrpeId": 19
    }
  ],
  "ShareRule": 1001,
  "IsRelate": true,
  "IsCustPayment": true,
  "RelationId": 3,
  "RelationNo": "sample string 4",
  "Btype": 1010,
  "ids": [
    1,
    2
  ],
  "DetailId": [
    1,
    2
  ],
  "ForcePassCredit": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>