POST api/profile/comment

Request Information

URI Parameters

None.

Body Parameters

tblServiceOrders
NameDescriptionTypeAdditional information
intIdPerson

integer

None.

dteRegister

date

None.

txtDescription

string

None.

intIdAgent

integer

None.

txtAgentName

string

None.

bitPendingInteraction

boolean

None.

bitPending

boolean

None.

intIdServiceOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "intIdPerson": 1,
  "dteRegister": "2024-11-16T18:57:23.6336643-03:00",
  "txtDescription": "sample string 2",
  "intIdAgent": 1,
  "txtAgentName": "sample string 3",
  "bitPendingInteraction": true,
  "bitPending": true,
  "intIdServiceOrder": 4
}

text/html

Sample:
{"intIdPerson":1,"dteRegister":"2024-11-16T18:57:23.6336643-03:00","txtDescription":"sample string 2","intIdAgent":1,"txtAgentName":"sample string 3","bitPendingInteraction":true,"bitPending":true,"intIdServiceOrder":4}

application/xml, text/xml

Sample:
<tblServiceOrders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.DataAccess">
  <bitPending>true</bitPending>
  <bitPendingInteraction>true</bitPendingInteraction>
  <dteRegister>2024-11-16T18:57:23.6336643-03:00</dteRegister>
  <intIdAgent>1</intIdAgent>
  <intIdPerson>1</intIdPerson>
  <intIdServiceOrder>4</intIdServiceOrder>
  <txtAgentName>sample string 3</txtAgentName>
  <txtDescription>sample string 2</txtDescription>
</tblServiceOrders>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'tblServiceOrders'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.