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": "62742d42-dbe8-4b60-8c6a-d5ae0e5b6538", "accountID": "5450d69d-55dc-415a-8e6d-b3343199ac6d", "invoiceID": "47568bc8-4a86-4d0a-a86b-cb079c25efa7" }
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>5450d69d-55dc-415a-8e6d-b3343199ac6d</AccountID> <Comment>sample string 2</Comment> <CompanyID>62742d42-dbe8-4b60-8c6a-d5ae0e5b6538</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>47568bc8-4a86-4d0a-a86b-cb079c25efa7</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":"62742d42-dbe8-4b60-8c6a-d5ae0e5b6538","accountID":"5450d69d-55dc-415a-8e6d-b3343199ac6d","invoiceID":"47568bc8-4a86-4d0a-a86b-cb079c25efa7"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.