POST api/AddressBook/BulkUpload_addcontact

Request Information

URI Parameters

None.

Body Parameters

BulkData
NameDescriptionTypeAdditional information
FileName

string

None.

bulkUpload_addcontact

Collection of BulkUpload_addcontact

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "bulkUpload_addcontact": [
    {
      "Name": "sample string 1",
      "Phone": "sample string 2",
      "OrganizationName": "sample string 3",
      "State": "sample string 4",
      "City": "sample string 5",
      "Email": "sample string 6",
      "GroupName": "sample string 7",
      "OrganizationType": "sample string 8",
      "OutletType": "sample string 9",
      "Latitude": "sample string 10",
      "Longitude": "sample string 11",
      "Location": "sample string 12",
      "CustomerCode": "sample string 13"
    },
    {
      "Name": "sample string 1",
      "Phone": "sample string 2",
      "OrganizationName": "sample string 3",
      "State": "sample string 4",
      "City": "sample string 5",
      "Email": "sample string 6",
      "GroupName": "sample string 7",
      "OrganizationType": "sample string 8",
      "OutletType": "sample string 9",
      "Latitude": "sample string 10",
      "Longitude": "sample string 11",
      "Location": "sample string 12",
      "CustomerCode": "sample string 13"
    }
  ]
}

application/xml, text/xml

Sample:
<BulkData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <FileName>sample string 1</FileName>
  <bulkUpload_addcontact>
    <BulkUpload_addcontact>
      <City>sample string 5</City>
      <CustomerCode>sample string 13</CustomerCode>
      <Email>sample string 6</Email>
      <GroupName>sample string 7</GroupName>
      <Latitude>sample string 10</Latitude>
      <Location>sample string 12</Location>
      <Longitude>sample string 11</Longitude>
      <Name>sample string 1</Name>
      <OrganizationName>sample string 3</OrganizationName>
      <OrganizationType>sample string 8</OrganizationType>
      <OutletType>sample string 9</OutletType>
      <Phone>sample string 2</Phone>
      <State>sample string 4</State>
    </BulkUpload_addcontact>
    <BulkUpload_addcontact>
      <City>sample string 5</City>
      <CustomerCode>sample string 13</CustomerCode>
      <Email>sample string 6</Email>
      <GroupName>sample string 7</GroupName>
      <Latitude>sample string 10</Latitude>
      <Location>sample string 12</Location>
      <Longitude>sample string 11</Longitude>
      <Name>sample string 1</Name>
      <OrganizationName>sample string 3</OrganizationName>
      <OrganizationType>sample string 8</OrganizationType>
      <OutletType>sample string 9</OutletType>
      <Phone>sample string 2</Phone>
      <State>sample string 4</State>
    </BulkUpload_addcontact>
  </bulkUpload_addcontact>
</BulkData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/09/24 15:56:54",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>