POST api/CaseSys/LF_Expense

Request Information

URI Parameters

None.

Body Parameters

LF_Expense
NameDescriptionTypeAdditional information
EID

integer

None.

CaseID

integer

None.

ZTH

integer

None.

PaymentDate

date

None.

VoucherNo

string

None.

Abstract

string

None.

Amount

decimal number

None.

PMID

integer

None.

del

boolean

None.

OperatingUser

integer

None.

Posting

boolean

None.

ASID

integer

None.

Auditor

integer

None.

AuditTime

date

None.

Bookkeeper

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EID": 1,
  "CaseID": 2,
  "ZTH": 3,
  "PaymentDate": "2024-11-21T17:38:22.7978688+08:00",
  "VoucherNo": "sample string 5",
  "Abstract": "sample string 6",
  "Amount": 7.0,
  "PMID": 1,
  "del": true,
  "OperatingUser": 1,
  "Posting": true,
  "ASID": 1,
  "Auditor": 1,
  "AuditTime": "2024-11-21T17:38:22.7978688+08:00",
  "Bookkeeper": 1
}

application/xml, text/xml

Sample:
<LF_Expense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.CaseSys.Data">
  <ASID>1</ASID>
  <Abstract>sample string 6</Abstract>
  <Amount>7</Amount>
  <AuditTime>2024-11-21T17:38:22.7978688+08:00</AuditTime>
  <Auditor>1</Auditor>
  <Bookkeeper>1</Bookkeeper>
  <CaseID>2</CaseID>
  <EID>1</EID>
  <OperatingUser>1</OperatingUser>
  <PMID>1</PMID>
  <PaymentDate>2024-11-21T17:38:22.7978688+08:00</PaymentDate>
  <Posting>true</Posting>
  <VoucherNo>sample string 5</VoucherNo>
  <ZTH>3</ZTH>
  <del>true</del>
</LF_Expense>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LF_Expense
NameDescriptionTypeAdditional information
EID

integer

None.

CaseID

integer

None.

ZTH

integer

None.

PaymentDate

date

None.

VoucherNo

string

None.

Abstract

string

None.

Amount

decimal number

None.

PMID

integer

None.

del

boolean

None.

OperatingUser

integer

None.

Posting

boolean

None.

ASID

integer

None.

Auditor

integer

None.

AuditTime

date

None.

Bookkeeper

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EID": 1,
  "CaseID": 2,
  "ZTH": 3,
  "PaymentDate": "2024-11-21T17:38:22.7978688+08:00",
  "VoucherNo": "sample string 5",
  "Abstract": "sample string 6",
  "Amount": 7.0,
  "PMID": 1,
  "del": true,
  "OperatingUser": 1,
  "Posting": true,
  "ASID": 1,
  "Auditor": 1,
  "AuditTime": "2024-11-21T17:38:22.7978688+08:00",
  "Bookkeeper": 1
}

application/xml, text/xml

Sample:
<LF_Expense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.CaseSys.Data">
  <ASID>1</ASID>
  <Abstract>sample string 6</Abstract>
  <Amount>7</Amount>
  <AuditTime>2024-11-21T17:38:22.7978688+08:00</AuditTime>
  <Auditor>1</Auditor>
  <Bookkeeper>1</Bookkeeper>
  <CaseID>2</CaseID>
  <EID>1</EID>
  <OperatingUser>1</OperatingUser>
  <PMID>1</PMID>
  <PaymentDate>2024-11-21T17:38:22.7978688+08:00</PaymentDate>
  <Posting>true</Posting>
  <VoucherNo>sample string 5</VoucherNo>
  <ZTH>3</ZTH>
  <del>true</del>
</LF_Expense>