GET api/Customers/BillingInfo

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BillingInfoResponseModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

Address

AddressReponseModel

None.

ReferrerEmailId

string

None.

DefaultMemberConfig

IMemberConfiguration

None.

ConstructorMappingEnabled

boolean

None.

CreateMissingTypeMaps

boolean

None.

ValidateInlineMaps

boolean

None.

ProfileName

string

None.

AllowNullDestinationValues

boolean

None.

AllowNullCollections

boolean

None.

EnableNullPropagationForQueryMapping

boolean

None.

ShouldMapProperty

FuncOfPropertyInfoAndBoolean

None.

ShouldMapField

FuncOfFieldInfoAndBoolean

None.

SourceMemberNamingConvention

INamingConvention

None.

DestinationMemberNamingConvention

INamingConvention

None.

ValueTransformers

Collection of ValueTransformerConfiguration

None.

Response Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "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"
  },
  "ReferrerEmailId": "sample string 4",
  "DefaultMemberConfig": {
    "NameMapper": {
      "GetMembers": {},
      "NamedMappers": [
        {
          "MethodCaseSensitive": false
        },
        {},
        {
          "Prefixes": [
            "Get"
          ],
          "Postfixes": [],
          "DestinationPrefixes": [],
          "DestinationPostfixes": []
        }
      ]
    },
    "MemberMappers": [
      {
        "NameMapper": {
          "GetMembers": {},
          "NamedMappers": [
            {
              "MethodCaseSensitive": false
            },
            {},
            {
              "Prefixes": [
                "Get"
              ],
              "Postfixes": [],
              "DestinationPrefixes": [],
              "DestinationPostfixes": []
            }
          ]
        }
      },
      {
        "SourceMemberNamingConvention": {
          "SplittingExpression": {
            "Pattern": "(\\p{Lu}+(?=$|\\p{Lu}[\\p{Ll}0-9])|\\p{Lu}?[\\p{Ll}0-9]+)",
            "Options": 0
          },
          "SeparatorCharacter": ""
        },
        "DestinationMemberNamingConvention": {
          "SplittingExpression": {
            "Pattern": "(\\p{Lu}+(?=$|\\p{Lu}[\\p{Ll}0-9])|\\p{Lu}?[\\p{Ll}0-9]+)",
            "Options": 0
          },
          "SeparatorCharacter": ""
        }
      }
    ]
  },
  "ConstructorMappingEnabled": null,
  "CreateMissingTypeMaps": true,
  "ValidateInlineMaps": true,
  "ProfileName": "Raza.Web.Api.Models.Customer.Response.BillingInfoResponseModel",
  "AllowNullDestinationValues": true,
  "AllowNullCollections": true,
  "EnableNullPropagationForQueryMapping": true,
  "ShouldMapProperty": null,
  "ShouldMapField": null,
  "SourceMemberNamingConvention": null,
  "DestinationMemberNamingConvention": null,
  "ValueTransformers": []
}

application/xml, text/xml

Sample:
<BillingInfoResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response">
  <AllowNullCollections xmlns="http://schemas.datacontract.org/2004/07/AutoMapper">true</AllowNullCollections>
  <AllowNullDestinationValues xmlns="http://schemas.datacontract.org/2004/07/AutoMapper">true</AllowNullDestinationValues>
  <CreateMissingTypeMaps xmlns="http://schemas.datacontract.org/2004/07/AutoMapper">true</CreateMissingTypeMaps>
  <DestinationMemberNamingConvention i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/AutoMapper" />
  <EnableNullPropagationForQueryMapping xmlns="http://schemas.datacontract.org/2004/07/AutoMapper">true</EnableNullPropagationForQueryMapping>
  <ShouldMapField xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/AutoMapper" />
  <ShouldMapProperty xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/AutoMapper" />
  <SourceMemberNamingConvention i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/AutoMapper" />
  <ValidateInlineMaps xmlns="http://schemas.datacontract.org/2004/07/AutoMapper">true</ValidateInlineMaps>
  <ValueTransformers xmlns="http://schemas.datacontract.org/2004/07/AutoMapper" />
  <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>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <ReferrerEmailId>sample string 4</ReferrerEmailId>
</BillingInfoResponseModel>