POST api/InvoiceSharedAndComments/AddShared
Request Information
URI Parameters
None.
Body Parameters
InvoiceSharedAndCommentMultiAddDtoName | Description | Type | Additional information |
---|---|---|---|
InvoiceSharedAndCommentType | InvoiceSharedAndCommentType |
None. |
|
Title | string |
None. |
|
Collection of 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, "title": "sample string 1", "email": [ "sample string 1", "sample string 2" ], "comment": "sample string 2", "companyID": "153df3dc-f8cc-4024-8c11-2ff01faf6c5a", "accountID": "442cf489-5651-44e5-ac98-615c5960dcb8", "invoiceID": "7b04a93a-e19d-4ba9-95d3-d16aafb45628" }
application/xml, text/xml
Sample:
<InvoiceSharedAndCommentMultiAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <AccountID>442cf489-5651-44e5-ac98-615c5960dcb8</AccountID> <Comment>sample string 2</Comment> <CompanyID>153df3dc-f8cc-4024-8c11-2ff01faf6c5a</CompanyID> <Email xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Email> <InvoiceID>7b04a93a-e19d-4ba9-95d3-d16aafb45628</InvoiceID> <InvoiceSharedAndCommentType>Comment</InvoiceSharedAndCommentType> <Title>sample string 1</Title> </InvoiceSharedAndCommentMultiAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"invoiceSharedAndCommentType":1,"title":"sample string 1","email":["sample string 1","sample string 2"],"comment":"sample string 2","companyID":"153df3dc-f8cc-4024-8c11-2ff01faf6c5a","accountID":"442cf489-5651-44e5-ac98-615c5960dcb8","invoiceID":"7b04a93a-e19d-4ba9-95d3-d16aafb45628"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.