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": "bdc9bfa5-54f5-44bd-bb83-bf40bb68954e", "accountID": "82f81eb7-fbc7-4a97-a412-87e391ac1afc", "invoiceID": "391ff896-0294-4d17-b78b-0f999db56f94" }
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>82f81eb7-fbc7-4a97-a412-87e391ac1afc</AccountID> <Comment>sample string 3</Comment> <CompanyID>bdc9bfa5-54f5-44bd-bb83-bf40bb68954e</CompanyID> <Email>sample string 1</Email> <InvoiceID>391ff896-0294-4d17-b78b-0f999db56f94</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":"bdc9bfa5-54f5-44bd-bb83-bf40bb68954e","accountID":"82f81eb7-fbc7-4a97-a412-87e391ac1afc","invoiceID":"391ff896-0294-4d17-b78b-0f999db56f94"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.