PUT api/ServiceOrder

Request Information

URI Parameters

None.

Body Parameters

UpdateServiceOrderResource
NameDescriptionTypeAdditional information
IdServiceOrder

integer

Required

AddressType

AddressType

None.

ServiceOrderStatus

ServiceOrderStatus

None.

IdCountry

integer

None.

IdState

integer

None.

IdCity

integer

None.

Address

string

None.

AddressNumber

string

None.

AddressCpl

string

None.

Location

string

None.

ZipCode

string

None.

CloseDate

Formato: dd/MM/yyyy hh:MM:ss (Ex. 19/12/2024 11:51:15)

date

None.

Comments

string

None.

CommentsTechnician

string

None.

IdDefect

integer

None.

IdSolution

integer

None.

IdService

integer

None.

IdServiceProvider

integer

None.

IdTechnician

integer

None.

IdEquipmentType

integer

None.

IdModel

integer

None.

SerialNumber

string

None.

Signature

string

None.

IdContractorContract

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdServiceOrder": 1,
  "AddressType": 1,
  "ServiceOrderStatus": 1,
  "IdCountry": 1,
  "IdState": 1,
  "IdCity": 1,
  "Address": "sample string 2",
  "AddressNumber": "sample string 3",
  "AddressCpl": "sample string 4",
  "Location": "sample string 5",
  "ZipCode": "sample string 6",
  "CloseDate": "2026-06-11T02:09:36.3373238+00:00",
  "Comments": "sample string 7",
  "CommentsTechnician": "sample string 8",
  "IdDefect": 1,
  "IdSolution": 1,
  "IdService": 1,
  "IdServiceProvider": 1,
  "IdTechnician": 1,
  "IdEquipmentType": 1,
  "IdModel": 1,
  "SerialNumber": "sample string 9",
  "Signature": "sample string 10",
  "IdContractorContract": 1
}

application/xml, text/xml

Sample:
<UpdateServiceOrderResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WkfGenericAPI.Models.Payloads.ServiceOrder">
  <Address>sample string 2</Address>
  <AddressCpl>sample string 4</AddressCpl>
  <AddressNumber>sample string 3</AddressNumber>
  <AddressType>Avenue</AddressType>
  <CloseDate>2026-06-11T02:09:36.3373238+00:00</CloseDate>
  <Comments>sample string 7</Comments>
  <CommentsTechnician>sample string 8</CommentsTechnician>
  <IdCity>1</IdCity>
  <IdContractorContract>1</IdContractorContract>
  <IdCountry>1</IdCountry>
  <IdDefect>1</IdDefect>
  <IdEquipmentType>1</IdEquipmentType>
  <IdModel>1</IdModel>
  <IdService>1</IdService>
  <IdServiceOrder>1</IdServiceOrder>
  <IdServiceProvider>1</IdServiceProvider>
  <IdSolution>1</IdSolution>
  <IdState>1</IdState>
  <IdTechnician>1</IdTechnician>
  <Location>sample string 5</Location>
  <SerialNumber>sample string 9</SerialNumber>
  <ServiceOrderStatus>New</ServiceOrderStatus>
  <Signature>sample string 10</Signature>
  <ZipCode>sample string 6</ZipCode>
</UpdateServiceOrderResource>

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 'UpdateServiceOrderResource'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.