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": "9fd4c444-6618-47ab-a004-aba4e775966e", "accountID": "04dcf929-b7d0-47ab-82e6-c76151733db3", "invoiceID": "7b733a1a-a70d-4631-b1b7-c585c4ac9fc5" }
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>04dcf929-b7d0-47ab-82e6-c76151733db3</AccountID> <Comment>sample string 3</Comment> <CompanyID>9fd4c444-6618-47ab-a004-aba4e775966e</CompanyID> <Email>sample string 1</Email> <InvoiceID>7b733a1a-a70d-4631-b1b7-c585c4ac9fc5</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":"9fd4c444-6618-47ab-a004-aba4e775966e","accountID":"04dcf929-b7d0-47ab-82e6-c76151733db3","invoiceID":"7b733a1a-a70d-4631-b1b7-c585c4ac9fc5"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.