POST api/getcustomerbyidfromapi

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
customer
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "DelevaryAddress": "sample string 4",
  "Address": "sample string 5",
  "Details": "sample string 6",
  "Mobile": "sample string 7",
  "PostCode": "sample string 8",
  "AddressPostcode": "sample string 9",
  "TelePhone2": "sample string 10",
  "Email": "sample string 11",
  "Title": "sample string 12",
  "AnotherAddress": "sample string 13",
  "DateOfBirth": "sample string 14",
  "DelevaryAddress2": "sample string 15",
  "LoyaltyPoint": 16,
  "LogForOfferonOrder": 17,
  "CustomerNote": "sample string 18",
  "DeliveryAddresses": [
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    },
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    },
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFoodManagementAPI.DAL.Model">
  <Address>sample string 5</Address>
  <AddressPostcode>sample string 9</AddressPostcode>
  <AnotherAddress>sample string 13</AnotherAddress>
  <CustomerID>1</CustomerID>
  <CustomerNote>sample string 18</CustomerNote>
  <DateOfBirth>sample string 14</DateOfBirth>
  <DelevaryAddress>sample string 4</DelevaryAddress>
  <DelevaryAddress2>sample string 15</DelevaryAddress2>
  <DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
  </DeliveryAddresses>
  <Details>sample string 6</Details>
  <Email>sample string 11</Email>
  <LogForOfferonOrder>17</LogForOfferonOrder>
  <LoyaltyPoint>16</LoyaltyPoint>
  <Mobile>sample string 7</Mobile>
  <Name>sample string 2</Name>
  <Phone>sample string 3</Phone>
  <PostCode>sample string 8</PostCode>
  <TelePhone2>sample string 10</TelePhone2>
  <Title>sample string 12</Title>
</Customer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "DelevaryAddress": "sample string 4",
  "Address": "sample string 5",
  "Details": "sample string 6",
  "Mobile": "sample string 7",
  "PostCode": "sample string 8",
  "AddressPostcode": "sample string 9",
  "TelePhone2": "sample string 10",
  "Email": "sample string 11",
  "Title": "sample string 12",
  "AnotherAddress": "sample string 13",
  "DateOfBirth": "sample string 14",
  "DelevaryAddress2": "sample string 15",
  "LoyaltyPoint": 16,
  "LogForOfferonOrder": 17,
  "CustomerNote": "sample string 18",
  "DeliveryAddresses": [
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    },
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    },
    {
      "Id": 1,
      "CustomerId": 2,
      "Address": "sample string 3",
      "PostCode": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFoodManagementAPI.DAL.Model">
  <Address>sample string 5</Address>
  <AddressPostcode>sample string 9</AddressPostcode>
  <AnotherAddress>sample string 13</AnotherAddress>
  <CustomerID>1</CustomerID>
  <CustomerNote>sample string 18</CustomerNote>
  <DateOfBirth>sample string 14</DateOfBirth>
  <DelevaryAddress>sample string 4</DelevaryAddress>
  <DelevaryAddress2>sample string 15</DelevaryAddress2>
  <DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
    <DeliveryAddresses>
      <Address>sample string 3</Address>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <PostCode>sample string 4</PostCode>
    </DeliveryAddresses>
  </DeliveryAddresses>
  <Details>sample string 6</Details>
  <Email>sample string 11</Email>
  <LogForOfferonOrder>17</LogForOfferonOrder>
  <LoyaltyPoint>16</LoyaltyPoint>
  <Mobile>sample string 7</Mobile>
  <Name>sample string 2</Name>
  <Phone>sample string 3</Phone>
  <PostCode>sample string 8</PostCode>
  <TelePhone2>sample string 10</TelePhone2>
  <Title>sample string 12</Title>
</Customer>