POST api/ProjectExpense

Request Information

URI Parameters

None.

Body Parameters

ProjectExpenseModel
NameDescriptionTypeAdditional information
ExpenseId

integer

None.

CompanyAccountId

integer

None.

ProjectId

integer

None.

TaskId

integer

None.

ExpenseCategoryId

integer

None.

InvoiceId

integer

None.

ExpenseDate

date

None.

ExpenseDescription

string

None.

ExpenseAmount

decimal number

None.

ExpenseCurrency

string

None.

ExpenseStatus

integer

None.

ExpenseReceiptFileName

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

CreatedAt

date

None.

ModifiedAt

date

None.

DeletedStatus

boolean

None.

ActiveStatus

boolean

None.

TaskName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExpenseId": 1,
  "CompanyAccountId": 2,
  "ProjectId": 3,
  "TaskId": 4,
  "ExpenseCategoryId": 5,
  "InvoiceId": 6,
  "ExpenseDate": "2020-11-28T16:11:04.0919312+00:00",
  "ExpenseDescription": "sample string 7",
  "ExpenseAmount": 8.1,
  "ExpenseCurrency": "sample string 9",
  "ExpenseStatus": 10,
  "ExpenseReceiptFileName": "sample string 11",
  "CreatedBy": 12,
  "ModifiedBy": 13,
  "CreatedAt": "2020-11-28T16:11:04.0919312+00:00",
  "ModifiedAt": "2020-11-28T16:11:04.0919312+00:00",
  "DeletedStatus": true,
  "ActiveStatus": true,
  "TaskName": "sample string 16"
}

application/xml, text/xml

Sample:
<ProjectExpenseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ActiveStatus>true</ActiveStatus>
  <CompanyAccountId>2</CompanyAccountId>
  <CreatedAt>2020-11-28T16:11:04.0919312+00:00</CreatedAt>
  <CreatedBy>12</CreatedBy>
  <DeletedStatus>true</DeletedStatus>
  <ExpenseAmount>8.1</ExpenseAmount>
  <ExpenseCategoryId>5</ExpenseCategoryId>
  <ExpenseCurrency>sample string 9</ExpenseCurrency>
  <ExpenseDate>2020-11-28T16:11:04.0919312+00:00</ExpenseDate>
  <ExpenseDescription>sample string 7</ExpenseDescription>
  <ExpenseId>1</ExpenseId>
  <ExpenseReceiptFileName>sample string 11</ExpenseReceiptFileName>
  <ExpenseStatus>10</ExpenseStatus>
  <InvoiceId>6</InvoiceId>
  <ModifiedAt>2020-11-28T16:11:04.0919312+00:00</ModifiedAt>
  <ModifiedBy>13</ModifiedBy>
  <ProjectId>3</ProjectId>
  <TaskId>4</TaskId>
  <TaskName>sample string 16</TaskName>
</ProjectExpenseModel>

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.