POST api/v{version}/maintenance?source={source}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
source

string

Required

version

The requested API version

string

Required

Default value is 1

Body Parameters

ServiceEventAppRecord
NameDescriptionTypeAdditional information
ServiceGroup

string

None.

Service

string

None.

WorkType

string

None.

Description

string

None.

FaultLocationSerialNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceGroup": "sample string 1",
  "Service": "sample string 2",
  "WorkType": "sample string 3",
  "Description": "sample string 4",
  "FaultLocationSerialNumber": "sample string 5"
}

text/javascript

Sample:
{"ServiceGroup":"sample string 1","Service":"sample string 2","WorkType":"sample string 3","Description":"sample string 4","FaultLocationSerialNumber":"sample string 5"}

application/xml, text/xml

Sample:
<ServiceEventAppRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support">
  <Description>sample string 4</Description>
  <FaultLocationSerialNumber>sample string 5</FaultLocationSerialNumber>
  <Service>sample string 2</Service>
  <ServiceGroup>sample string 1</ServiceGroup>
  <WorkType>sample string 3</WorkType>
</ServiceEventAppRecord>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/javascript

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>