POST api/ServiceReceiptAction/Add

Request Information

URI Parameters

None.

Body Parameters

ServiceReceiptActionAddDto
NameDescriptionTypeAdditional information
StatusID

globally unique identifier

None.

EmployeeID

globally unique identifier

None.

Description

string

None.

ServiceReceiptID

globally unique identifier

None.

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "statusID": "a6258baf-f062-4ce7-9ece-d9b6eafcc3cd",
  "employeeID": "379eb277-bbe4-400d-adae-51d5aad60149",
  "description": "sample string 1",
  "serviceReceiptID": "79c371b3-b180-4ebc-b8a7-8d5530a1138b",
  "companyID": "252b19b0-34bd-4a59-9d2a-b90364d6c059"
}

application/xml, text/xml

Sample:
<ServiceReceiptActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>252b19b0-34bd-4a59-9d2a-b90364d6c059</CompanyID>
  <Description>sample string 1</Description>
  <EmployeeID>379eb277-bbe4-400d-adae-51d5aad60149</EmployeeID>
  <ServiceReceiptID>79c371b3-b180-4ebc-b8a7-8d5530a1138b</ServiceReceiptID>
  <StatusID>a6258baf-f062-4ce7-9ece-d9b6eafcc3cd</StatusID>
</ServiceReceiptActionAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"statusID":"a6258baf-f062-4ce7-9ece-d9b6eafcc3cd","employeeID":"379eb277-bbe4-400d-adae-51d5aad60149","description":"sample string 1","serviceReceiptID":"79c371b3-b180-4ebc-b8a7-8d5530a1138b","companyID":"252b19b0-34bd-4a59-9d2a-b90364d6c059"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.