POST api/Expense/RejectExpense

Request Information

URI Parameters

None.

Body Parameters

ExpenseRejectionApiReq
NameDescriptionTypeAdditional information
ExpenseId

integer

None.

Reason

string

None.

LanguageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ExpenseId": 1,
  "Reason": "sample string 2",
  "LanguageId": 3
}

text/html

Sample:
{"ExpenseId":1,"Reason":"sample string 2","LanguageId":3}

application/xml, text/xml

Sample:
<ExpenseRejectionApiReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel">
  <ExpenseId>1</ExpenseId>
  <LanguageId>3</LanguageId>
  <Reason>sample string 2</Reason>
</ExpenseRejectionApiReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.