POST api/Master/AddMaintenanceAwards

Request Information

URI Parameters

None.

Body Parameters

AddAwardMaintenance
NameDescriptionTypeAdditional information
awardID

integer

None.

period

integer

None.

price

integer

None.

maintenanceYear

integer

None.

awardMaintenanceTypeID

integer

None.

state

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "awardID": 1,
  "period": 2,
  "price": 3,
  "maintenanceYear": 4,
  "awardMaintenanceTypeID": 5,
  "state": 6
}

application/xml, text/xml

Sample:
<AddAwardMaintenance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <awardID>1</awardID>
  <awardMaintenanceTypeID>5</awardMaintenanceTypeID>
  <maintenanceYear>4</maintenanceYear>
  <period>2</period>
  <price>3</price>
  <state>6</state>
</AddAwardMaintenance>

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>