POST api/pod/Dealing/AddUserAndBusiness

Request Information

URI Parameters

None.

Body Parameters

UpdateBusinessRequest
NameDescriptionTypeAdditional information
BizId

integer

None.

BusinessName

string

None.

GuildCode

Collection of string

None.

Country

string

None.

State

string

None.

City

string

None.

Address

string

None.

Desctiption

string

None.

CompanyName

string

None.

Website

string

None.

FirstName

string

None.

LastName

string

None.

IBAN

string

None.

NationalCode

string

None.

EconomicCode

string

None.

RegisterationNUmber

string

None.

Email

string

None.

AgentCellPhone

string

None.

Phone

string

None.

PostalCode

string

None.

AgentFirstName

string

None.

AgentLastName

string

None.

AgentNationalCode

string

None.

Username

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BizId": 1,
  "BusinessName": "sample string 2",
  "GuildCode": [
    "sample string 1",
    "sample string 2"
  ],
  "Country": "sample string 3",
  "State": "sample string 4",
  "City": "sample string 5",
  "Address": "sample string 6",
  "Desctiption": "sample string 7",
  "CompanyName": "sample string 8",
  "Website": "sample string 9",
  "FirstName": "sample string 10",
  "LastName": "sample string 11",
  "IBAN": "sample string 12",
  "NationalCode": "sample string 13",
  "EconomicCode": "sample string 14",
  "RegisterationNUmber": "sample string 15",
  "Email": "sample string 16",
  "AgentCellPhone": "sample string 17",
  "Phone": "sample string 18",
  "PostalCode": "sample string 19",
  "AgentFirstName": "sample string 20",
  "AgentLastName": "sample string 21",
  "AgentNationalCode": "sample string 22",
  "Username": "sample string 23"
}

application/xml, text/xml

Sample:
<UpdateBusinessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Address>sample string 6</Address>
  <AgentCellPhone>sample string 17</AgentCellPhone>
  <AgentFirstName>sample string 20</AgentFirstName>
  <AgentLastName>sample string 21</AgentLastName>
  <AgentNationalCode>sample string 22</AgentNationalCode>
  <BizId>1</BizId>
  <BusinessName>sample string 2</BusinessName>
  <City>sample string 5</City>
  <CompanyName>sample string 8</CompanyName>
  <Country>sample string 3</Country>
  <Desctiption>sample string 7</Desctiption>
  <EconomicCode>sample string 14</EconomicCode>
  <Email>sample string 16</Email>
  <FirstName>sample string 10</FirstName>
  <GuildCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </GuildCode>
  <IBAN>sample string 12</IBAN>
  <LastName>sample string 11</LastName>
  <NationalCode>sample string 13</NationalCode>
  <Phone>sample string 18</Phone>
  <PostalCode>sample string 19</PostalCode>
  <RegisterationNUmber>sample string 15</RegisterationNUmber>
  <State>sample string 4</State>
  <Username>sample string 23</Username>
  <Website>sample string 9</Website>
</UpdateBusinessRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseViewModel
NameDescriptionTypeAdditional information
HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<BaseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</BaseViewModel>