POST api/Business/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
BusinessDetails

RegisterBusinessDetails

None.

ManagerDetails

RegisterManagerDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessDetails": {
    "BusinessName": "sample string 1",
    "Id": "sample string 2",
    "Address": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "ZipCode": "sample string 6",
    "WebSite": "sample string 7",
    "Country": "sample string 8"
  },
  "ManagerDetails": {
    "NameAdmin": "sample string 1",
    "PhoneAdmin": "sample string 2",
    "EmailAdmin": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.BindingModel">
  <BusinessDetails>
    <Address>sample string 3</Address>
    <BusinessName>sample string 1</BusinessName>
    <City>sample string 4</City>
    <Country>sample string 8</Country>
    <Id>sample string 2</Id>
    <State>sample string 5</State>
    <WebSite>sample string 7</WebSite>
    <ZipCode>sample string 6</ZipCode>
  </BusinessDetails>
  <ManagerDetails>
    <EmailAdmin>sample string 3</EmailAdmin>
    <NameAdmin>sample string 1</NameAdmin>
    <PhoneAdmin>sample string 2</PhoneAdmin>
  </ManagerDetails>
</RegisterBindingModel>

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.