POST claim/add

Request Information

URI Parameters

None.

Body Parameters

ClaimAddRequest
NameDescriptionTypeAdditional information
OfficeId

integer

None.

BeneficiaryId

integer

None.

ClaimTypeId

integer

None.

PaidByCompanyCard

boolean

None.

PaymentMethod

integer

None.

BusinessAdvanceId

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OfficeId": 1,
  "BeneficiaryId": 2,
  "ClaimTypeId": 3,
  "PaidByCompanyCard": true,
  "PaymentMethod": 1,
  "BusinessAdvanceId": 5,
  "IsActive": true
}

application/xml, text/xml

Sample:
<ClaimAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.ExpenseObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <BeneficiaryId>2</BeneficiaryId>
  <BusinessAdvanceId>5</BusinessAdvanceId>
  <ClaimTypeId>3</ClaimTypeId>
  <OfficeId>1</OfficeId>
  <PaidByCompanyCard>true</PaidByCompanyCard>
  <PaymentMethod>1</PaymentMethod>
</ClaimAddRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClaimAddRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.