PUT api/brokerage

Request Information

URI Parameters

None.

Body Parameters

BrokerageModel
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

address

string

None.

city

string

None.

state

string

None.

zip

string

None.

email

string

None.

phone

string

None.

subscriberId

integer

None.

isSubscribingBrokerOverride

boolean

None.

contactName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "address": "sample string 3",
  "city": "sample string 4",
  "state": "sample string 5",
  "zip": "sample string 6",
  "email": "sample string 7",
  "phone": "sample string 8",
  "subscriberId": 1,
  "isSubscribingBrokerOverride": true,
  "contactName": "sample string 10"
}

text/html

Sample:
{"id":1,"name":"sample string 2","address":"sample string 3","city":"sample string 4","state":"sample string 5","zip":"sample string 6","email":"sample string 7","phone":"sample string 8","subscriberId":1,"isSubscribingBrokerOverride":true,"contactName":"sample string 10"}

application/xml, text/xml

Sample:
<BrokerageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <ContactName>sample string 10</ContactName>
  <Email>sample string 7</Email>
  <Id>1</Id>
  <IsSubscribingBrokerOverride>true</IsSubscribingBrokerOverride>
  <Name>sample string 2</Name>
  <Phone>sample string 8</Phone>
  <State>sample string 5</State>
  <SubscriberId>1</SubscriberId>
  <Zip>sample string 6</Zip>
</BrokerageModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BrokerageModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.