POST api/AdminData/PricingStructure/{pricingStructureID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pricingStructureID | integer |
Required |
Body Parameters
Collection of AgencyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AgencyID | integer |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"agencyID": 1,
"name": "sample string 2"
},
{
"agencyID": 1,
"name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfAgencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
<AgencyViewModel>
<AgencyID>1</AgencyID>
<Name>sample string 2</Name>
</AgencyViewModel>
<AgencyViewModel>
<AgencyID>1</AgencyID>
<Name>sample string 2</Name>
</AgencyViewModel>
</ArrayOfAgencyViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.