POST api/Customer/LoadCompanyDetailsById

Request Information

URI Parameters

None.

Body Parameters

CustomerListViewModel
NameDescriptionTypeAdditional information
companyid

integer

None.

companyname

string

None.

customertype

string

None.

customertypeid

integer

None.

location1

string

None.

location2

string

None.

phone1

string

None.

phone2

string

None.

companycode

string

None.

partyname

string

None.

mailingaddress

string

None.

onboardedby

string

None.

logininfoid

integer

None.

rolecode

string

None.

onboardedid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "companyid": 1,
  "companyname": "sample string 2",
  "customertype": "sample string 3",
  "customertypeid": 4,
  "location1": "sample string 5",
  "location2": "sample string 6",
  "phone1": "sample string 7",
  "phone2": "sample string 8",
  "companycode": "sample string 9",
  "partyname": "sample string 10",
  "mailingaddress": "sample string 11",
  "onboardedby": "sample string 12",
  "logininfoid": 13,
  "rolecode": "sample string 14",
  "onboardedid": 15
}

application/xml, text/xml

Sample:
<CustomerListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <companycode>sample string 9</companycode>
  <companyid>1</companyid>
  <companyname>sample string 2</companyname>
  <customertype>sample string 3</customertype>
  <customertypeid>4</customertypeid>
  <location1>sample string 5</location1>
  <location2>sample string 6</location2>
  <logininfoid>13</logininfoid>
  <mailingaddress>sample string 11</mailingaddress>
  <onboardedby>sample string 12</onboardedby>
  <onboardedid>15</onboardedid>
  <partyname>sample string 10</partyname>
  <phone1>sample string 7</phone1>
  <phone2>sample string 8</phone2>
  <rolecode>sample string 14</rolecode>
</CustomerListViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

Status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "Status": true,
  "message": "sample string 3",
  "data": {},
  "errorCode": 5
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <data />
  <errorCode>5</errorCode>
  <message>sample string 3</message>
  <status>true</status>
</HttpResultViewModel>