POST api/Master/AddScheduleMaintenance

Request Information

URI Parameters

None.

Body Parameters

AddScheduleMaint
NameDescriptionTypeAdditional information
maint_ID

integer

None.

scheduleMaintState

integer

None.

scheduleMaintenanceStatusID

integer

None.

scheduleMaintDate

string

None.

state

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "maint_ID": 1,
  "scheduleMaintState": 2,
  "scheduleMaintenanceStatusID": 3,
  "scheduleMaintDate": "sample string 4",
  "state": 5
}

application/xml, text/xml

Sample:
<AddScheduleMaint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <maint_ID>1</maint_ID>
  <scheduleMaintDate>sample string 4</scheduleMaintDate>
  <scheduleMaintState>2</scheduleMaintState>
  <scheduleMaintenanceStatusID>3</scheduleMaintenanceStatusID>
  <state>5</state>
</AddScheduleMaint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Message

string

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
</Response>