POST api/admin/customers/import

Request Information

URI Parameters

None.

Body Parameters

Collection of CustomerImportDto
NameDescriptionTypeAdditional information
FullName

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

FatherName

string

None.

Surname

string

None.

HeadOfHousehold

string

None.

Neighborhood

string

None.

OwnerPhone

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "fullName": "sample string 1",
    "longitude": 1.0,
    "latitude": 1.0,
    "fatherName": "sample string 2",
    "surname": "sample string 3",
    "headOfHousehold": "sample string 4",
    "neighborhood": "sample string 5",
    "ownerPhone": "sample string 6"
  },
  {
    "fullName": "sample string 1",
    "longitude": 1.0,
    "latitude": 1.0,
    "fatherName": "sample string 2",
    "surname": "sample string 3",
    "headOfHousehold": "sample string 4",
    "neighborhood": "sample string 5",
    "ownerPhone": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerImportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <CustomerImportDto>
    <FatherName>sample string 2</FatherName>
    <FullName>sample string 1</FullName>
    <HeadOfHousehold>sample string 4</HeadOfHousehold>
    <Latitude>1</Latitude>
    <Longitude>1</Longitude>
    <Neighborhood>sample string 5</Neighborhood>
    <OwnerPhone>sample string 6</OwnerPhone>
    <Surname>sample string 3</Surname>
  </CustomerImportDto>
  <CustomerImportDto>
    <FatherName>sample string 2</FatherName>
    <FullName>sample string 1</FullName>
    <HeadOfHousehold>sample string 4</HeadOfHousehold>
    <Latitude>1</Latitude>
    <Longitude>1</Longitude>
    <Neighborhood>sample string 5</Neighborhood>
    <OwnerPhone>sample string 6</OwnerPhone>
    <Surname>sample string 3</Surname>
  </CustomerImportDto>
</ArrayOfCustomerImportDto>

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.