POST api/InvoiceSharedAndComments/Add

Request Information

URI Parameters

None.

Body Parameters

InvoiceSharedAndCommentsAddDto
NameDescriptionTypeAdditional information
InvoiceSharedAndCommentType

InvoiceSharedAndCommentType

None.

Email

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": "a127d611-d7b7-4cf3-8887-1185fc1ca40f",
  "accountID": "e35d4d3c-936d-4863-9c0f-4be284ccd20c",
  "invoiceID": "eb1148a9-9fa5-4932-80c4-8b4e19008dae"
}

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>e35d4d3c-936d-4863-9c0f-4be284ccd20c</AccountID>
  <Comment>sample string 3</Comment>
  <CompanyID>a127d611-d7b7-4cf3-8887-1185fc1ca40f</CompanyID>
  <Email>sample string 1</Email>
  <InvoiceID>eb1148a9-9fa5-4932-80c4-8b4e19008dae</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":"a127d611-d7b7-4cf3-8887-1185fc1ca40f","accountID":"e35d4d3c-936d-4863-9c0f-4be284ccd20c","invoiceID":"eb1148a9-9fa5-4932-80c4-8b4e19008dae"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.