POST api/Tenant/SubmitMaintenanceRequest

Request Information

URI Parameters

None.

Body Parameters

SubmitMaintenanceRequest
NameDescriptionTypeAdditional information
TenantCode

string

None.

RequestType

string

None.

ContactNo

string

None.

RequestRemarks

string

None.

MaintenanceRequestId

string

None.

Status

string

None.

InforRemarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantCode": "sample string 1",
  "RequestType": "sample string 2",
  "ContactNo": "sample string 3",
  "RequestRemarks": "sample string 4",
  "MaintenanceRequestId": "sample string 5",
  "Status": "sample string 6",
  "InforRemarks": "sample string 7"
}

application/xml, text/xml

Sample:
<SubmitMaintenanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <ContactNo>sample string 3</ContactNo>
  <InforRemarks>sample string 7</InforRemarks>
  <MaintenanceRequestId>sample string 5</MaintenanceRequestId>
  <RequestRemarks>sample string 4</RequestRemarks>
  <RequestType>sample string 2</RequestType>
  <Status>sample string 6</Status>
  <TenantCode>sample string 1</TenantCode>
</SubmitMaintenanceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SubmitMaintenanceResponse
NameDescriptionTypeAdditional information
failed_List

Collection of Object

None.

ResponseCode

string

None.

MaintenanceRequestID

string

None.

AdditionalData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "failed_List": [
    {},
    {}
  ],
  "ResponseCode": "sample string 1",
  "MaintenanceRequestID": "sample string 2",
  "AdditionalData": "sample string 3"
}

application/xml, text/xml

Sample:
<SubmitMaintenanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <AdditionalData>sample string 3</AdditionalData>
  <MaintenanceRequestID>sample string 2</MaintenanceRequestID>
  <ResponseCode>sample string 1</ResponseCode>
  <failed_List xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </failed_List>
</SubmitMaintenanceResponse>