POST api/AdminData/PricingContract/Agency/New

Request Information

URI Parameters

None.

Body Parameters

Collection of 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
  },
  {
    "contractID": 1,
    "contract": "sample string 2",
    "isLocked": true,
    "isGameTime": true,
    "isDisabled": true
  }
]

application/xml, text/xml

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

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.