POST api/admin/brokerage
Request Information
URI Parameters
None.
Body Parameters
AgentByBrokerageModelName | Description | Type | Additional information |
---|---|---|---|
brokerId | integer |
None. |
|
userId | integer |
None. |
|
comment | string |
None. |
|
brokerLogoUrl | string |
None. |
|
brokerLogoId | integer |
None. |
|
brokerage | BrokerageModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "brokerId": 1, "userId": 2, "comment": "sample string 3", "brokerLogoUrl": "sample string 4", "brokerLogoId": 1, "brokerage": { "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:
{"brokerId":1,"userId":2,"comment":"sample string 3","brokerLogoUrl":"sample string 4","brokerLogoId":1,"brokerage":{"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:
<AgentByBrokerageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <BrokerId>1</BrokerId> <BrokerLogoId>1</BrokerLogoId> <BrokerLogoUrl>sample string 4</BrokerLogoUrl> <Brokerage> <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> </Brokerage> <Comment>sample string 3</Comment> <UserId>2</UserId> </AgentByBrokerageModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.