PUT api/InvoiceSharedAndComments/Update

Request Information

URI Parameters

None.

Body Parameters

InvoiceSharedAndCommentsUpdateDto
NameDescriptionTypeAdditional information
InvoiceSharedAndCommentType

InvoiceSharedAndCommentType

None.

Title

string

None.

Email

string

None.

Comment

string

None.

CustomerID

globally unique identifier

None.

InvoiceID

globally unique identifier

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "invoiceSharedAndCommentType": 1,
  "title": "sample string 1",
  "email": "sample string 2",
  "comment": "sample string 3",
  "customerID": "2d842d91-5dc3-4233-a34e-3b015dd10421",
  "invoiceID": "86c0dd76-d4e1-4803-8f6b-0a5a1e64d653",
  "id": "99127770-49ee-46b3-9abd-24edaf250526",
  "companyID": "9048cdd3-4b65-49ed-bfd0-422c8f33413c"
}

application/xml, text/xml

Sample:
<InvoiceSharedAndCommentsUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>9048cdd3-4b65-49ed-bfd0-422c8f33413c</CompanyID>
  <ID>99127770-49ee-46b3-9abd-24edaf250526</ID>
  <Comment>sample string 3</Comment>
  <CustomerID>2d842d91-5dc3-4233-a34e-3b015dd10421</CustomerID>
  <Email>sample string 2</Email>
  <InvoiceID>86c0dd76-d4e1-4803-8f6b-0a5a1e64d653</InvoiceID>
  <InvoiceSharedAndCommentType>Comment</InvoiceSharedAndCommentType>
  <Title>sample string 1</Title>
</InvoiceSharedAndCommentsUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"invoiceSharedAndCommentType":1,"title":"sample string 1","email":"sample string 2","comment":"sample string 3","customerID":"2d842d91-5dc3-4233-a34e-3b015dd10421","invoiceID":"86c0dd76-d4e1-4803-8f6b-0a5a1e64d653","id":"99127770-49ee-46b3-9abd-24edaf250526","companyID":"9048cdd3-4b65-49ed-bfd0-422c8f33413c"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.