POST api/AdminData/PricingContract/Agency

Request Information

URI Parameters

None.

Body Parameters

AgencyContractEditViewModel
NameDescriptionTypeAdditional information
ContractID

integer

None.

Contract

string

None.

IsLocked

boolean

None.

IsGameTime

boolean

None.

IsDisabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "contractID": 1,
  "contract": "sample string 2",
  "isLocked": true,
  "isGameTime": true,
  "isDisabled": true
}

application/xml, text/xml

Sample:
<AgencyContractEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <Contract>sample string 2</Contract>
  <ContractID>1</ContractID>
  <IsDisabled>true</IsDisabled>
  <IsGameTime>true</IsGameTime>
  <IsLocked>true</IsLocked>
</AgencyContractEditViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.