POST api/InvoiceSharedAndComments/Add
Request Information
URI Parameters
None.
Body Parameters
InvoiceSharedAndCommentsAddDtoName | Description | Type | Additional information |
---|---|---|---|
InvoiceSharedAndCommentType | InvoiceSharedAndCommentType |
None. |
|
string |
None. |
||
Title | string |
None. |
|
Comment | string |
None. |
|
CompanyID | globally unique identifier |
None. |
|
AccountID | globally unique identifier |
None. |
|
InvoiceID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "invoiceSharedAndCommentType": 1, "email": "sample string 1", "title": "sample string 2", "comment": "sample string 3", "companyID": "5012e0a7-3fab-42b1-a769-480498b9191c", "accountID": "9f03c719-79c7-4df7-abe2-88cc604f9601", "invoiceID": "99f5fc88-af4a-4b6e-96a4-060f86a5ef5a" }
application/xml, text/xml
Sample:
<InvoiceSharedAndCommentsAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <AccountID>9f03c719-79c7-4df7-abe2-88cc604f9601</AccountID> <Comment>sample string 3</Comment> <CompanyID>5012e0a7-3fab-42b1-a769-480498b9191c</CompanyID> <Email>sample string 1</Email> <InvoiceID>99f5fc88-af4a-4b6e-96a4-060f86a5ef5a</InvoiceID> <InvoiceSharedAndCommentType>Comment</InvoiceSharedAndCommentType> <Title>sample string 2</Title> </InvoiceSharedAndCommentsAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"invoiceSharedAndCommentType":1,"email":"sample string 1","title":"sample string 2","comment":"sample string 3","companyID":"5012e0a7-3fab-42b1-a769-480498b9191c","accountID":"9f03c719-79c7-4df7-abe2-88cc604f9601","invoiceID":"99f5fc88-af4a-4b6e-96a4-060f86a5ef5a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.