POST v1/customers/create
Creates a customer.
Request Information
URI Parameters
None.
Body Parameters
First Name or Customer Name is required. Available Categories, ReferralSource, Industry can be pulled using different API's listed in API Help Page.
CustomerCreateName | Description | Type | Additional information |
---|---|---|---|
FirstName |
First Name is required if a Consumer Account or Email is provided |
string |
None. |
LastName | string |
None. |
|
string |
Matching regular expression pattern: ^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$ |
||
CustomerName |
Customer Name is required if not a Consumer Account |
string |
None. |
CustomerNumber | string |
None. |
|
IsConsumerAccount |
This will be set to true if First Name is provided and Customer Name is not provided |
boolean |
None. |
IsVendor |
This flag will set Customer as also a Vendor |
boolean |
None. |
Status |
If not provided, this will be set based on CRM Settings setup in the application |
IdNamePair |
None. |
Categories |
This is required based on CRM Settings setup in the application. Category will be matched based on id first, if id is not present it will be matched based on name. |
Collection of IdNamePair |
None. |
ReferralSource |
This is required based on CRM Settings setup in the application. Referral Source will be matched based on id first, if id is not present it will be matched based on name. |
IdNamePair |
None. |
Industry |
Industry will be matched based on id first, if id is not present it will be matched based on name. If a match is not found, it will be ignored. |
IdNamePair |
None. |
CustomerSince | date |
None. |
|
CreditLimit | decimal number |
None. |
|
WebSite |
If valid Website is not provided, this will be ignored. (Ex. https://www.example.com) |
string |
None. |
PrimaryLocation |
If provided, this address will be set as primary. |
Location |
None. |
BillToLocation |
If Primary Location is not provided and Bill To Location is provided, this address will be set as primary. |
Location |
None. |
ShipToLocation |
If both Primary Location and Bill To Location is not provided and Ship To Location is provided, then this address will be set as primary. |
Location |
None. |
ShipToSameAsBillTo |
If passed as true, bill to location is required. Bill to location will be set as ship to location and any parameter passed for ship to location will be ignored. |
boolean |
None. |
CountryDialCode | integer |
None. |
|
Phone | string |
None. |
|
IsTaxExempt | boolean |
None. |
|
IsFinanceChargeExempt | boolean |
None. |
|
PaymentTerm |
Payment Term will be matched based on id first, if id is not present it will be matched based on name. If a match is not found, it will be ignored. |
IdNamePair |
None. |
PriceList |
Price List will be matched based on id first, if id is not present it will be matched based on name. If a match is not found, it will be ignored. |
IdNamePair |
None. |
CustomFields |
Custom Fields |
Collection of CustomField |
None. |
Request Formats
application/json, text/json
{ "firstName": "sample string 1", "lastName": "sample string 2", "email": "sample string 3", "customerName": "sample string 4", "customerNumber": "sample string 5", "isConsumerAccount": true, "isVendor": true, "status": { "id": 1, "name": "sample string 2" }, "categories": [ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ], "referralSource": { "id": 1, "name": "sample string 2" }, "industry": { "id": 1, "name": "sample string 2" }, "customerSince": "2024-04-18T11:04:27.8738246-04:00", "creditLimit": 7.0, "webSite": "sample string 8", "primaryLocation": { "locationName": "sample string 1", "address1": "sample string 2", "address2": "sample string 3", "address3": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7", "country": "sample string 8", "latitude": 9.0, "longitude": 10.0, "fullAddress": "sample string 11" }, "billToLocation": { "locationName": "sample string 1", "address1": "sample string 2", "address2": "sample string 3", "address3": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7", "country": "sample string 8", "latitude": 9.0, "longitude": 10.0, "fullAddress": "sample string 11" }, "shipToLocation": { "locationName": "sample string 1", "address1": "sample string 2", "address2": "sample string 3", "address3": "sample string 4", "city": "sample string 5", "state": "sample string 6", "postalCode": "sample string 7", "country": "sample string 8", "latitude": 9.0, "longitude": 10.0, "fullAddress": "sample string 11" }, "shipToSameAsBillTo": true, "countryDialCode": 10, "phone": "sample string 11", "isTaxExempt": true, "isFinanceChargeExempt": true, "paymentTerm": { "id": 1, "name": "sample string 2" }, "priceList": { "id": 1, "name": "sample string 2" }, "customFields": [ { "id": 1, "name": "sample string 2", "fieldType": { "id": 1, "name": "sample string 2" }, "sourceId": 3, "value": "sample string 4", "valueText": "sample string 5", "isRequired": true }, { "id": 1, "name": "sample string 2", "fieldType": { "id": 1, "name": "sample string 2" }, "sourceId": 3, "value": "sample string 4", "valueText": "sample string 5", "isRequired": true } ] }
application/xml, text/xml
<CustomerCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM"> <BillToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:Address1>sample string 2</d2p1:Address1> <d2p1:Address2>sample string 3</d2p1:Address2> <d2p1:Address3>sample string 4</d2p1:Address3> <d2p1:City>sample string 5</d2p1:City> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:FullAddress>sample string 11</d2p1:FullAddress> <d2p1:Latitude>9</d2p1:Latitude> <d2p1:Longitude>10</d2p1:Longitude> <d2p1:PostalCode>sample string 7</d2p1:PostalCode> <d2p1:State>sample string 6</d2p1:State> <d2p1:LocationName>sample string 1</d2p1:LocationName> </BillToLocation> <Categories xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:IdNamePair> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </d2p1:IdNamePair> <d2p1:IdNamePair> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </d2p1:IdNamePair> </Categories> <CountryDialCode>10</CountryDialCode> <CreditLimit>7</CreditLimit> <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:CustomField> <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:FieldType> <d2p1:Id>1</d2p1:Id> <d2p1:IsRequired>true</d2p1:IsRequired> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SourceId>3</d2p1:SourceId> <d2p1:Value>sample string 4</d2p1:Value> <d2p1:ValueText>sample string 5</d2p1:ValueText> </d2p1:CustomField> <d2p1:CustomField> <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:FieldType> <d2p1:Id>1</d2p1:Id> <d2p1:IsRequired>true</d2p1:IsRequired> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SourceId>3</d2p1:SourceId> <d2p1:Value>sample string 4</d2p1:Value> <d2p1:ValueText>sample string 5</d2p1:ValueText> </d2p1:CustomField> </CustomFields> <CustomerName>sample string 4</CustomerName> <CustomerNumber>sample string 5</CustomerNumber> <CustomerSince>2024-04-18T11:04:27.8738246-04:00</CustomerSince> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <Industry xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </Industry> <IsConsumerAccount>true</IsConsumerAccount> <IsFinanceChargeExempt>true</IsFinanceChargeExempt> <IsTaxExempt>true</IsTaxExempt> <IsVendor>true</IsVendor> <LastName>sample string 2</LastName> <PaymentTerm xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </PaymentTerm> <Phone>sample string 11</Phone> <PriceList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </PriceList> <PrimaryLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:Address1>sample string 2</d2p1:Address1> <d2p1:Address2>sample string 3</d2p1:Address2> <d2p1:Address3>sample string 4</d2p1:Address3> <d2p1:City>sample string 5</d2p1:City> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:FullAddress>sample string 11</d2p1:FullAddress> <d2p1:Latitude>9</d2p1:Latitude> <d2p1:Longitude>10</d2p1:Longitude> <d2p1:PostalCode>sample string 7</d2p1:PostalCode> <d2p1:State>sample string 6</d2p1:State> <d2p1:LocationName>sample string 1</d2p1:LocationName> </PrimaryLocation> <ReferralSource xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </ReferralSource> <ShipToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:Address1>sample string 2</d2p1:Address1> <d2p1:Address2>sample string 3</d2p1:Address2> <d2p1:Address3>sample string 4</d2p1:Address3> <d2p1:City>sample string 5</d2p1:City> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:FullAddress>sample string 11</d2p1:FullAddress> <d2p1:Latitude>9</d2p1:Latitude> <d2p1:Longitude>10</d2p1:Longitude> <d2p1:PostalCode>sample string 7</d2p1:PostalCode> <d2p1:State>sample string 6</d2p1:State> <d2p1:LocationName>sample string 1</d2p1:LocationName> </ShipToLocation> <ShipToSameAsBillTo>true</ShipToSameAsBillTo> <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </Status> <WebSite>sample string 8</WebSite> </CustomerCreate>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
CustomerName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required |
|
Number | string |
None. |
|
IsVendor | boolean |
None. |
|
IsConsumerAccount | boolean |
None. |
|
PrimaryContact |
Read Only |
IdNamePair |
None. |
Status | IdNamePair |
Required |
|
Categories |
This is required based on CRM Settings setup in the application |
Collection of IdNamePair |
None. |
ReferralSource |
This is required based on CRM Settings setup in the application |
IdNamePair |
None. |
Industry | IdNamePair |
None. |
|
CustomerSince | date |
None. |
|
OnCreditHold |
This property will be deprecated in the future |
boolean |
None. |
CreditLimit | decimal number |
None. |
|
WebSite | string |
Matching regular expression pattern: ^([a-zA-Z]{3,})\:\/\/([a-zA-Z0-9\.\-]+(\:[a-zA-Z0-9\.&%\$\-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|localhost|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.([a-zA-Z]{2,}))(\:[0-9]+)*([\/]{0,1}($|[a-zA-Z0-9\[\]\.\,\?\'\\\+&%\$#\=~_\-{}\:!]+))*$ |
|
IsTaxExempt | boolean |
None. |
|
IsFinanceChargeExempt | boolean |
None. |
|
PaymentTerm | IdNamePair |
None. |
|
BillToLocation | IdNamePair |
None. |
|
ShipToLocation | IdNamePair |
None. |
|
Phones | Collection of Phone |
None. |
|
PrimaryAddress | Address |
None. |
|
PriceList |
Price List |
IdNamePair |
None. |
CustomFields | Collection of CustomField |
None. |
|
DateCreated |
The date and time (in company time zone) when the customer was created. |
date |
None. |
CreatedBy | IdNamePair |
None. |
|
LastUpdatedDate |
The date and time (in company time zone) when the customer was last updated. |
date |
None. |
LastUpdatedBy | IdNamePair |
None. |
|
Currency |
Read Only - Currency Information. |
Currency |
None. |
Response Formats
application/json, text/json
{ "id": 1, "name": "sample string 2", "number": "sample string 3", "isVendor": true, "isConsumerAccount": true, "primaryContact": { "id": 1, "name": "sample string 2" }, "status": { "id": 1, "name": "sample string 2" }, "categories": [ { "id": 1, "name": "sample string 2" }, { "id": 1, "name": "sample string 2" } ], "referralSource": { "id": 1, "name": "sample string 2" }, "industry": { "id": 1, "name": "sample string 2" }, "customerSince": "2024-04-18T11:04:27.8738246-04:00", "onCreditHold": true, "creditLimit": 7.0, "webSite": "sample string 8", "isTaxExempt": true, "isFinanceChargeExempt": true, "paymentTerm": { "id": 1, "name": "sample string 2" }, "billToLocation": { "id": 1, "name": "sample string 2" }, "shipToLocation": { "id": 1, "name": "sample string 2" }, "phones": [ { "id": 1, "phoneType": { "id": 1, "name": "sample string 2" }, "countryDialCode": 2, "number": "sample string 3", "extension": "sample string 4", "isPreferred": true, "active": true }, { "id": 1, "phoneType": { "id": 1, "name": "sample string 2" }, "countryDialCode": 2, "number": "sample string 3", "extension": "sample string 4", "isPreferred": true, "active": true } ], "primaryAddress": { "address1": "sample string 1", "address2": "sample string 2", "address3": "sample string 3", "city": "sample string 4", "state": "sample string 5", "postalCode": "sample string 6", "country": "sample string 7", "latitude": 8.0, "longitude": 9.0, "fullAddress": "sample string 10" }, "priceList": { "id": 1, "name": "sample string 2" }, "customFields": [ { "id": 1, "name": "sample string 2", "fieldType": { "id": 1, "name": "sample string 2" }, "sourceId": 3, "value": "sample string 4", "valueText": "sample string 5", "isRequired": true }, { "id": 1, "name": "sample string 2", "fieldType": { "id": 1, "name": "sample string 2" }, "sourceId": 3, "value": "sample string 4", "valueText": "sample string 5", "isRequired": true } ], "dateCreated": "2024-04-18T11:04:27.8738246-04:00", "createdBy": { "id": 1, "name": "sample string 2" }, "lastUpdatedDate": "2024-04-18T11:04:27.8738246-04:00", "lastUpdatedBy": { "id": 1, "name": "sample string 2" }, "currency": { "currencyISOCode": "sample string 1", "exchangeRate": 2.0 } }
application/xml, text/xml
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM"> <BillToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </BillToLocation> <Categories xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:IdNamePair> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </d2p1:IdNamePair> <d2p1:IdNamePair> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </d2p1:IdNamePair> </Categories> <CreatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </CreatedBy> <CreditLimit>7</CreditLimit> <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core"> <d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>sample string 1</d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField> <d2p1:_x003C_ExchangeRate_x003E_k__BackingField>2</d2p1:_x003C_ExchangeRate_x003E_k__BackingField> </Currency> <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:CustomField> <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:FieldType> <d2p1:Id>1</d2p1:Id> <d2p1:IsRequired>true</d2p1:IsRequired> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SourceId>3</d2p1:SourceId> <d2p1:Value>sample string 4</d2p1:Value> <d2p1:ValueText>sample string 5</d2p1:ValueText> </d2p1:CustomField> <d2p1:CustomField> <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:FieldType> <d2p1:Id>1</d2p1:Id> <d2p1:IsRequired>true</d2p1:IsRequired> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SourceId>3</d2p1:SourceId> <d2p1:Value>sample string 4</d2p1:Value> <d2p1:ValueText>sample string 5</d2p1:ValueText> </d2p1:CustomField> </CustomFields> <CustomerSince>2024-04-18T11:04:27.8738246-04:00</CustomerSince> <DateCreated>2024-04-18T11:04:27.8738246-04:00</DateCreated> <Id>1</Id> <Industry xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </Industry> <IsConsumerAccount>true</IsConsumerAccount> <IsFinanceChargeExempt>true</IsFinanceChargeExempt> <IsTaxExempt>true</IsTaxExempt> <IsVendor>true</IsVendor> <LastUpdatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </LastUpdatedBy> <LastUpdatedDate>2024-04-18T11:04:27.8738246-04:00</LastUpdatedDate> <Name>sample string 2</Name> <Number>sample string 3</Number> <OnCreditHold>true</OnCreditHold> <PaymentTerm xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </PaymentTerm> <Phones xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:Phone> <d2p1:Active>true</d2p1:Active> <d2p1:CountryDialCode>2</d2p1:CountryDialCode> <d2p1:Extension>sample string 4</d2p1:Extension> <d2p1:Id>1</d2p1:Id> <d2p1:IsPreferred>true</d2p1:IsPreferred> <d2p1:Number>sample string 3</d2p1:Number> <d2p1:PhoneType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:PhoneType> </d2p1:Phone> <d2p1:Phone> <d2p1:Active>true</d2p1:Active> <d2p1:CountryDialCode>2</d2p1:CountryDialCode> <d2p1:Extension>sample string 4</d2p1:Extension> <d2p1:Id>1</d2p1:Id> <d2p1:IsPreferred>true</d2p1:IsPreferred> <d2p1:Number>sample string 3</d2p1:Number> <d2p1:PhoneType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField> <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField> </d2p1:PhoneType> </d2p1:Phone> </Phones> <PriceList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </PriceList> <PrimaryAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core"> <d2p1:Address1>sample string 1</d2p1:Address1> <d2p1:Address2>sample string 2</d2p1:Address2> <d2p1:Address3>sample string 3</d2p1:Address3> <d2p1:City>sample string 4</d2p1:City> <d2p1:Country>sample string 7</d2p1:Country> <d2p1:FullAddress>sample string 10</d2p1:FullAddress> <d2p1:Latitude>8</d2p1:Latitude> <d2p1:Longitude>9</d2p1:Longitude> <d2p1:PostalCode>sample string 6</d2p1:PostalCode> <d2p1:State>sample string 5</d2p1:State> </PrimaryAddress> <PrimaryContact xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </PrimaryContact> <ReferralSource xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </ReferralSource> <ShipToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </ShipToLocation> <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </Status> <WebSite>sample string 8</WebSite> </Customer>