POST api/ServiceReceiptAction/Add
Request Information
URI Parameters
None.
Body Parameters
ServiceReceiptActionAddDtoName | Description | Type | Additional 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": "18740944-a70f-42eb-9481-b630118be048", "employeeID": "d270496e-a411-4e09-b035-65e87584be00", "description": "sample string 1", "serviceReceiptID": "0d8730b0-c942-4a3b-a2a2-60df08cb63a3", "companyID": "2c9a2634-a96f-4a62-ba72-bc9d358d5213" }
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>2c9a2634-a96f-4a62-ba72-bc9d358d5213</CompanyID> <Description>sample string 1</Description> <EmployeeID>d270496e-a411-4e09-b035-65e87584be00</EmployeeID> <ServiceReceiptID>0d8730b0-c942-4a3b-a2a2-60df08cb63a3</ServiceReceiptID> <StatusID>18740944-a70f-42eb-9481-b630118be048</StatusID> </ServiceReceiptActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"statusID":"18740944-a70f-42eb-9481-b630118be048","employeeID":"d270496e-a411-4e09-b035-65e87584be00","description":"sample string 1","serviceReceiptID":"0d8730b0-c942-4a3b-a2a2-60df08cb63a3","companyID":"2c9a2634-a96f-4a62-ba72-bc9d358d5213"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.