POST api/backoffice/v{version}/references

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

WorkorderReference
NameDescriptionTypeAdditional information
workorder_id

integer

None.

name

string

None.

id

integer

None.

value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "workorder_id": 1,
  "name": "sample string 2",
  "id": 3,
  "value": "sample string 4"
}

text/html

Sample:
{"workorder_id":1,"name":"sample string 2","id":3,"value":"sample string 4"}

application/xml, text/xml

Sample:
<WorkorderReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DispatchITV2.Models.Data">
  <id>3</id>
  <name>sample string 2</name>
  <value>sample string 4</value>
  <workorder_id>1</workorder_id>
</WorkorderReference>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />