POST api/Pay/AddPay

Request Information

URI Parameters

None.

Body Parameters

AddPayViewModel
NameDescriptionTypeAdditional information
FCompID

integer

None.

FCompName

string

None.

FSectionID

integer

None.

FSectionName

string

None.

FBillNO

string

None.

FType

integer

None.

FPayMoney

decimal number

None.

FOptID

integer

None.

FOptName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FCompID": 1,
  "FCompName": "sample string 1",
  "FSectionID": 1,
  "FSectionName": "sample string 2",
  "FBillNO": "sample string 3",
  "FType": 1,
  "FPayMoney": 1.0,
  "FOptID": 1,
  "FOptName": "sample string 4"
}

application/xml, text/xml

Sample:
<AddPayViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <FBillNO>sample string 3</FBillNO>
  <FCompID>1</FCompID>
  <FCompName>sample string 1</FCompName>
  <FOptID>1</FOptID>
  <FOptName>sample string 4</FOptName>
  <FPayMoney>1</FPayMoney>
  <FSectionID>1</FSectionID>
  <FSectionName>sample string 2</FSectionName>
  <FType>1</FType>
</AddPayViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": 4
}

application/xml, text/xml

Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response>4</Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfint>