POST Account/company_info

Request Information

URI Parameters

None.

Body Parameters

CompanyInfoModel
NameDescriptionTypeAdditional information
UserId

integer

None.

name

string

Required

description

string

None.

website

string

Data type: Url

email_address

string

None.

mobile

string

None.

fax

string

None.

address

string

None.

companytelephone

string

None.

countryid

integer

None.

stateid

integer

None.

cityid

integer

None.

companytypeid

integer

None.

organizationtypeid

integer

None.

postalcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "website": "sample string 4",
  "email_address": "sample string 5",
  "mobile": "sample string 6",
  "fax": "sample string 7",
  "address": "sample string 8",
  "companytelephone": "sample string 9",
  "countryid": 10,
  "stateid": 11,
  "cityid": 12,
  "companytypeid": 13,
  "organizationtypeid": 14,
  "postalcode": "sample string 15"
}

application/xml, text/xml

Sample:
<CompanyInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <UserId>1</UserId>
  <address>sample string 8</address>
  <cityid>12</cityid>
  <companytelephone>sample string 9</companytelephone>
  <companytypeid>13</companytypeid>
  <countryid>10</countryid>
  <description>sample string 3</description>
  <email_address>sample string 5</email_address>
  <fax>sample string 7</fax>
  <mobile>sample string 6</mobile>
  <name>sample string 2</name>
  <organizationtypeid>14</organizationtypeid>
  <postalcode>sample string 15</postalcode>
  <stateid>11</stateid>
  <website>sample string 4</website>
</CompanyInfoModel>

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 'CompanyInfoModel'.

Response Information

Resource Description

ResponseMessageBusinessCard
NameDescriptionTypeAdditional information
status

integer

None.

code

integer

None.

message

string

None.

data

BusinessCard

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "code": 2,
  "message": "sample string 3",
  "data": {
    "id": "sample string 1",
    "personal_info": {
      "name": "sample string 1",
      "business_email_address": "sample string 2",
      "mobile": "sample string 3",
      "job_title": "sample string 4",
      "image_url": "sample string 5",
      "office_address": "sample string 6",
      "QRCode": "sample string 7",
      "facebookid": "sample string 8",
      "twitterid": "sample string 9",
      "linkedinid": "sample string 10",
      "card_creation_time": "2018-12-11T01:33:20.3539556-05:00",
      "ScannedDate": "2018-12-11T01:33:20.3539556-05:00",
      "id": 11,
      "location": "sample string 12",
      "scannedlocation": "sample string 13"
    },
    "company_info": {
      "name": "sample string 1",
      "description": "sample string 2",
      "website": "sample string 3",
      "email_address": "sample string 4",
      "telephone": "sample string 5",
      "fax": "sample string 6",
      "companylogo": "sample string 7",
      "address": "sample string 8",
      "country": "sample string 9",
      "city": "sample string 10",
      "state": "sample string 11",
      "organizationname": "sample string 12",
      "postalcode": "sample string 13",
      "mobile": "sample string 14"
    },
    "contact_info": {
      "business_email_address": "sample string 1",
      "mobile": "sample string 2"
    },
    "theme_info": {
      "BackgroundColor": "sample string 1",
      "ForeGroundColor": "sample string 2",
      "IsBackGroundImage": true,
      "IsDivBg": true,
      "SeperatorColor": "sample string 3",
      "HeadingForeColor": "sample string 4",
      "BackGroundImage": "sample string 5"
    },
    "verified": true,
    "status": 3,
    "connectionstatus": true,
    "sccannedstatus": true,
    "NoOfConnection": "sample string 6",
    "Notes": "sample string 7",
    "theme_id": 8,
    "company_id": 9
  }
}

application/xml, text/xml

Sample:
<ResponseMessageBusinessCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <code>2</code>
  <data>
    <NoOfConnection>sample string 6</NoOfConnection>
    <Notes>sample string 7</Notes>
    <company_id>9</company_id>
    <company_info>
      <address>sample string 8</address>
      <city>sample string 10</city>
      <companylogo>sample string 7</companylogo>
      <country>sample string 9</country>
      <description>sample string 2</description>
      <email_address>sample string 4</email_address>
      <fax>sample string 6</fax>
      <mobile>sample string 14</mobile>
      <name>sample string 1</name>
      <organizationname>sample string 12</organizationname>
      <postalcode>sample string 13</postalcode>
      <state>sample string 11</state>
      <telephone>sample string 5</telephone>
      <website>sample string 3</website>
    </company_info>
    <connectionstatus>true</connectionstatus>
    <contact_info>
      <business_email_address>sample string 1</business_email_address>
      <mobile>sample string 2</mobile>
    </contact_info>
    <id>sample string 1</id>
    <personal_info>
      <QRCode>sample string 7</QRCode>
      <ScannedDate>2018-12-11T01:33:20.3539556-05:00</ScannedDate>
      <business_email_address>sample string 2</business_email_address>
      <card_creation_time>2018-12-11T01:33:20.3539556-05:00</card_creation_time>
      <facebookid>sample string 8</facebookid>
      <id>11</id>
      <image_url>sample string 5</image_url>
      <job_title>sample string 4</job_title>
      <linkedinid>sample string 10</linkedinid>
      <location>sample string 12</location>
      <mobile>sample string 3</mobile>
      <name>sample string 1</name>
      <office_address>sample string 6</office_address>
      <scannedlocation>sample string 13</scannedlocation>
      <twitterid>sample string 9</twitterid>
    </personal_info>
    <sccannedstatus>true</sccannedstatus>
    <status>3</status>
    <theme_id>8</theme_id>
    <theme_info>
      <BackGroundImage>sample string 5</BackGroundImage>
      <BackgroundColor>sample string 1</BackgroundColor>
      <ForeGroundColor>sample string 2</ForeGroundColor>
      <HeadingForeColor>sample string 4</HeadingForeColor>
      <IsBackGroundImage>true</IsBackGroundImage>
      <IsDivBg>true</IsDivBg>
      <SeperatorColor>sample string 3</SeperatorColor>
    </theme_info>
    <verified>true</verified>
  </data>
  <message>sample string 3</message>
  <status>1</status>
</ResponseMessageBusinessCard>