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": "ca6fc55c-6c9e-4dc2-83c9-775c7eb8cde0", "accountID": "5eef01d0-8a35-4c58-8079-95d61d57a9a6", "invoiceID": "fe80dfc8-d579-4bd3-a2a2-07d359332319" }
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>5eef01d0-8a35-4c58-8079-95d61d57a9a6</AccountID> <Comment>sample string 3</Comment> <CompanyID>ca6fc55c-6c9e-4dc2-83c9-775c7eb8cde0</CompanyID> <Email>sample string 1</Email> <InvoiceID>fe80dfc8-d579-4bd3-a2a2-07d359332319</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":"ca6fc55c-6c9e-4dc2-83c9-775c7eb8cde0","accountID":"5eef01d0-8a35-4c58-8079-95d61d57a9a6","invoiceID":"fe80dfc8-d579-4bd3-a2a2-07d359332319"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.