POST api/Customers

Request Information

URI Parameters

None.

Body Parameters

AuthenticateModel
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<AuthenticateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer">
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</AuthenticateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerResponseModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

MemberId

string

None.

CreatedDate

date

None.

EmailAddress

string

None.

FirstName

string

None.

LastName

string

None.

OrderId

string

None.

Password

string

None.

PhoneNumber

string

None.

Address

AddressReponseModel

None.

CallingCountryId

integer

None.

ReferredBy

string

None.

IsNew

boolean

None.

IpAddress

string

None.

IsShowStatus

boolean

None.

LoginToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "MemberId": "sample string 2",
  "CreatedDate": "2024-11-30T22:24:55.3060648-05:00",
  "EmailAddress": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "OrderId": "sample string 7",
  "Password": "sample string 8",
  "PhoneNumber": "sample string 9",
  "Address": {
    "StreetAddress": "sample string 1",
    "City": "sample string 2",
    "State": "sample string 3",
    "Country": {
      "CountryId": 1,
      "CountryName": "sample string 2",
      "CountryCode": "sample string 3",
      "ISOCode": "sample string 4"
    },
    "ZipCode": "sample string 4",
    "HomePhone": "sample string 5",
    "WorkPhone": "sample string 6",
    "Mobile": "sample string 7",
    "AccountEmail": "sample string 8"
  },
  "CallingCountryId": 10,
  "ReferredBy": "sample string 11",
  "IsNew": true,
  "IpAddress": "sample string 13",
  "IsShowStatus": true,
  "LoginToken": "sample string 15"
}

application/xml, text/xml

Sample:
<CustomerResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response">
  <Address>
    <AccountEmail>sample string 8</AccountEmail>
    <City>sample string 2</City>
    <Country>
      <CountryCode>sample string 3</CountryCode>
      <CountryId>1</CountryId>
      <CountryName>sample string 2</CountryName>
      <ISOCode>sample string 4</ISOCode>
    </Country>
    <HomePhone>sample string 5</HomePhone>
    <Mobile>sample string 7</Mobile>
    <State>sample string 3</State>
    <StreetAddress>sample string 1</StreetAddress>
    <WorkPhone>sample string 6</WorkPhone>
    <ZipCode>sample string 4</ZipCode>
  </Address>
  <CallingCountryId>10</CallingCountryId>
  <CreatedDate>2024-11-30T22:24:55.3060648-05:00</CreatedDate>
  <CustomerId>1</CustomerId>
  <EmailAddress>sample string 4</EmailAddress>
  <FirstName>sample string 5</FirstName>
  <IpAddress>sample string 13</IpAddress>
  <IsNew>true</IsNew>
  <IsShowStatus>true</IsShowStatus>
  <LastName>sample string 6</LastName>
  <LoginToken>sample string 15</LoginToken>
  <MemberId>sample string 2</MemberId>
  <OrderId>sample string 7</OrderId>
  <Password>sample string 8</Password>
  <PhoneNumber>sample string 9</PhoneNumber>
  <ReferredBy>sample string 11</ReferredBy>
</CustomerResponseModel>