POST claimlineitem/add

Request Information

URI Parameters

None.

Body Parameters

ClaimLineItemAddRequest
NameDescriptionTypeAdditional information
ClaimId

integer

None.

CategoryId

integer

None.

ClaimTypeId

integer

None.

BusinessAdvanceId

integer

None.

ExpenseDate

date

None.

Description

string

String length: inclusive between 0 and 500

MissingReceipts

boolean

None.

MissingReceiptReason

string

String length: inclusive between 0 and 500

FromCurrency

string

String length: inclusive between 0 and 3

FromAmount

decimal number

None.

FromNonTaxAmount

decimal number

None.

ToCurrency

string

String length: inclusive between 0 and 3

ToAmount

decimal number

None.

ToNonTaxAmount

decimal number

None.

ToTotalAmount

decimal number

None.

Notes

string

String length: inclusive between 0 and 250

SapProjectId

string

None.

SapProjectCode

string

None.

SapOrderId

string

None.

CostCenterId

integer

None.

JurisdictionCodeId

integer

None.

JurisdictionCodeFreeText

string

None.

SapTaxCodeSettingId

integer

None.

Beneficiary

integer

None.

OfficeId

integer

None.

VendorId

string

None.

PaidByCompanyCard

boolean

None.

PaymentMethod

integer

None.

OfficeToCharge

integer

None.

Billable

boolean

None.

Attendees

Collection of integer

None.

NonEmployeeAttendees

string

None.

Comments

string

None.

IAP

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClaimId": 1,
  "CategoryId": 2,
  "ClaimTypeId": 3,
  "BusinessAdvanceId": 4,
  "ExpenseDate": "2025-07-23T00:38:42.7512999+02:00",
  "Description": "sample string 5",
  "MissingReceipts": true,
  "MissingReceiptReason": "sample string 7",
  "FromCurrency": "sample string 8",
  "FromAmount": 9.0,
  "FromNonTaxAmount": 10.0,
  "ToCurrency": "sample string 11",
  "ToAmount": 12.0,
  "ToNonTaxAmount": 13.0,
  "ToTotalAmount": 14.0,
  "Notes": "sample string 15",
  "SapProjectId": "sample string 16",
  "SapProjectCode": "sample string 17",
  "SapOrderId": "sample string 18",
  "CostCenterId": 1,
  "JurisdictionCodeId": 1,
  "JurisdictionCodeFreeText": "sample string 19",
  "SapTaxCodeSettingId": 1,
  "Beneficiary": 20,
  "OfficeId": 21,
  "VendorId": "sample string 22",
  "PaidByCompanyCard": true,
  "PaymentMethod": 1,
  "OfficeToCharge": 24,
  "Billable": true,
  "Attendees": [
    1,
    2
  ],
  "NonEmployeeAttendees": "sample string 26",
  "Comments": "sample string 27",
  "IAP": "sample string 28",
  "IsActive": true
}

application/xml, text/xml

Sample:
<ClaimLineItemAddRequest 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>
  <Attendees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Attendees>
  <Beneficiary>20</Beneficiary>
  <Billable>true</Billable>
  <BusinessAdvanceId>4</BusinessAdvanceId>
  <CategoryId>2</CategoryId>
  <ClaimId>1</ClaimId>
  <ClaimTypeId>3</ClaimTypeId>
  <Comments>sample string 27</Comments>
  <CostCenterId>1</CostCenterId>
  <Description>sample string 5</Description>
  <ExpenseDate>2025-07-23T00:38:42.7512999+02:00</ExpenseDate>
  <FromAmount>9</FromAmount>
  <FromCurrency>sample string 8</FromCurrency>
  <FromNonTaxAmount>10</FromNonTaxAmount>
  <IAP>sample string 28</IAP>
  <JurisdictionCodeFreeText>sample string 19</JurisdictionCodeFreeText>
  <JurisdictionCodeId>1</JurisdictionCodeId>
  <MissingReceiptReason>sample string 7</MissingReceiptReason>
  <MissingReceipts>true</MissingReceipts>
  <NonEmployeeAttendees>sample string 26</NonEmployeeAttendees>
  <Notes>sample string 15</Notes>
  <OfficeId>21</OfficeId>
  <OfficeToCharge>24</OfficeToCharge>
  <PaidByCompanyCard>true</PaidByCompanyCard>
  <PaymentMethod>1</PaymentMethod>
  <SapOrderId>sample string 18</SapOrderId>
  <SapProjectCode>sample string 17</SapProjectCode>
  <SapProjectId>sample string 16</SapProjectId>
  <SapTaxCodeSettingId>1</SapTaxCodeSettingId>
  <ToAmount>12</ToAmount>
  <ToCurrency>sample string 11</ToCurrency>
  <ToNonTaxAmount>13</ToNonTaxAmount>
  <ToTotalAmount>14</ToTotalAmount>
  <VendorId>sample string 22</VendorId>
</ClaimLineItemAddRequest>

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 'ClaimLineItemAddRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.