Platform Subscription API

<back to all web services

SaveContact

Inserts or Updates a contact and its details and roles.

Requires Authentication
"use strict";
export class RuleValidationResult {
    /** @param {{RuleCode?:string,Message?:string,Key?:string,Tag?:string,ErrorCode?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    RuleCode;
    /** @type {string} */
    Message;
    /** @type {string} */
    Key;
    /** @type {string} */
    Tag;
    /** @type {string} */
    ErrorCode;
}
export class ValidationErrorList {
    /** @param {{ValidationErrors?:RuleValidationResult[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {RuleValidationResult[]} */
    ValidationErrors;
}
export class ContactRole {
    /** @param {{RoleId?:string,AlternateKey?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Guid of the Role List Item object within Eros. */
    RoleId;
    /**
     * @type {string}
     * @description The unique key that represents the role type on the external system. */
    AlternateKey;
}
export class LocationCoordinatesModel {
    /** @param {{Latitude?:number,Longitude?:number,Altitude?:number,Accuracy?:number,AltitudeAccuracy?:number,Heading?:number,Speed?:number,VerticalSpeed?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. */
    Latitude;
    /**
     * @type {number}
     * @description The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. */
    Longitude;
    /**
     * @type {?number}
     * @description The altitude of an address - the altitude above sea level. */
    Altitude;
    /**
     * @type {?number}
     * @description Accuracy of the latitude and longitude. */
    Accuracy;
    /**
     * @type {?number}
     * @description Accurancy of the Altitude. */
    AltitudeAccuracy;
    /**
     * @type {?number}
     * @description Direction you are heading. */
    Heading;
    /**
     * @type {?number}
     * @description Speed you are going. */
    Speed;
    /**
     * @type {?number}
     * @description Speed your altitude is ascending/descending at. */
    VerticalSpeed;
}
export class AddressModel {
    /** @param {{DistanceAway?:number,Latitude?:number,Longitude?:number,AddressFormatId?:string,SuburbId?:string,SuburbName?:string,StateShortName?:string,PostCode?:string,CountryId?:string,CountryName?:string,ISOCountryCode?:string,LotNumber?:string,SubUnit?:string,BuildingNumber?:string,StreetNumber?:string,StreetName?:string,AddressLineOne?:string,AddressLineTwo?:string,AddressFull?:string,IsPhysical?:boolean,Notes?:string,AutoMapCoordinates?:boolean,LocationCoordinates?:LocationCoordinatesModel}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description The distance between this project and another specified set of gps coordinates. */
    DistanceAway;
    /**
     * @type {number}
     * @description The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. */
    Latitude;
    /**
     * @type {number}
     * @description The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. */
    Longitude;
    /**
     * @type {string}
     * @description Address Format Id Guid - this will be determined by the service. */
    AddressFormatId;
    /**
     * @type {string}
     * @description Suburb Id Guid - this will attempt to be determined by the SuburbName, StateShortName and Postcode entered. */
    SuburbId;
    /**
     * @type {string}
     * @description The suburb name. */
    SuburbName;
    /**
     * @type {string}
     * @description The shortened State Name e.g Vic for Victoria. */
    StateShortName;
    /**
     * @type {string}
     * @description The suburb postcode. */
    PostCode;
    /**
     * @type {string}
     * @description Country Id Guid - this will be determined by the CountrName or ISOCountryCode entered. */
    CountryId;
    /**
     * @type {string}
     * @description the name of the country the address is within. */
    CountryName;
    /**
     * @type {string}
     * @description A 2 digit ISO Country Code representing the country. */
    ISOCountryCode;
    /**
     * @type {string}
     * @description The address Lot number. */
    LotNumber;
    /**
     * @type {string}
     * @description The address Sub Unit number. */
    SubUnit;
    /**
     * @type {string}
     * @description The address building number. */
    BuildingNumber;
    /**
     * @type {string}
     * @description The address street number. */
    StreetNumber;
    /**
     * @type {string}
     * @description The address street name including street type. */
    StreetName;
    /**
     * @type {string}
     * @description A formatted address Line 1. */
    AddressLineOne;
    /**
     * @type {string}
     * @description A formatted address Line 2. */
    AddressLineTwo;
    /**
     * @type {string}
     * @description The full address string. */
    AddressFull;
    /**
     * @type {?boolean}
     * @description True if the address is a physical location. */
    IsPhysical;
    /**
     * @type {string}
     * @description Notes about the address. */
    Notes;
    /**
     * @type {?boolean}
     * @description If true, the address is eligible for having its coordinates calculated/updated. */
    AutoMapCoordinates;
    /**
     * @type {LocationCoordinatesModel}
     * @description Location Coordinates for the address. */
    LocationCoordinates;
}
export class ContactAddressModel {
    /** @param {{Address?:AddressModel,IsPostal?:boolean,IsPrimaryLocation?:boolean,IsRegisteredLocation?:boolean,SuburbName?:string,StateName?:string,CountryName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {AddressModel} */
    Address;
    /** @type {boolean} */
    IsPostal;
    /** @type {boolean} */
    IsPrimaryLocation;
    /** @type {boolean} */
    IsRegisteredLocation;
    /** @type {string} */
    SuburbName;
    /** @type {string} */
    StateName;
    /** @type {string} */
    CountryName;
}
export class PhoneModel {
    /** @param {{CountryCode?:string,AreaCode?:string,LocalNumber?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    CountryCode;
    /** @type {string} */
    AreaCode;
    /** @type {string} */
    LocalNumber;
}
export class ContactDetailModel {
    /** @param {{ContactMethodId?:string,ContactMethodName?:string,ContactAddress?:ContactAddressModel,ContactPhone?:PhoneModel,CountryId?:string,ContactDetails?:string,Notes?:string,ContactDetailsCode?:string,OrderContactMethod?:number,IsPrimaryContactMethod?:boolean,IsAddress?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ContactMethodId;
    /** @type {string} */
    ContactMethodName;
    /** @type {ContactAddressModel} */
    ContactAddress;
    /** @type {PhoneModel} */
    ContactPhone;
    /** @type {?string} */
    CountryId;
    /** @type {string} */
    ContactDetails;
    /** @type {string} */
    Notes;
    /** @type {string} */
    ContactDetailsCode;
    /** @type {number} */
    OrderContactMethod;
    /** @type {boolean} */
    IsPrimaryContactMethod;
    /** @type {boolean} */
    IsAddress;
}
export class SubscriptionContactModel {
    /** @param {{ContactId?:string,ContactType?:string,MaritalStatus?:string,Gender?:string,FirstName?:string,MiddleName?:string,Surname?:string,FullName?:string,ShortName?:string,BirthDate?:string,Title?:string,Salutation?:string,Abn?:string,Acn?:string,Arbn?:string,TradingName?:string,LegalName?:string,Notes?:string,EmploymentIndustry?:string,EmploymentRole?:string,EmploymentGeographicArea?:string,DriversLicence?:string,GstRegistered?:boolean,RecordStatus?:string,ContactRoles?:ContactRole[],ContactDetails?:ContactDetailModel[],CustomContentXML?:string,BlobImageURLPrimary?:string,BlobImageURLPrimaryThumbnail?:string,PrimaryMobile?:string,PrimaryEmail?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Guid of the contact object within Eros. */
    ContactId;
    /**
     * @type {string}
     * @description Guid of the Contact Type List Item object within Eros. */
    ContactType;
    /**
     * @type {?string}
     * @description Guid of the Marital Status List Item object within Eros. */
    MaritalStatus;
    /**
     * @type {?string}
     * @description Guid of the Gender List Item object within Eros. */
    Gender;
    /**
     * @type {string}
     * @description The first given name for the contact.  Applies to a person contact type. */
    FirstName;
    /**
     * @type {string}
     * @description The middle name(s) for the contact.  Applies to a person contact type. */
    MiddleName;
    /**
     * @type {string}
     * @description The surname for the contact.  Applies to a person contact type. */
    Surname;
    /**
     * @type {string}
     * @description The full name for the contact. */
    FullName;
    /**
     * @type {string}
     * @description A short name for the contact. */
    ShortName;
    /**
     * @type {?string}
     * @description The birth date for the contact.  Applies to a person contact type. */
    BirthDate;
    /**
     * @type {string}
     * @description The title for the contact.  Applies to a person contact type. */
    Title;
    /**
     * @type {string}
     * @description A salutation for the contact. */
    Salutation;
    /**
     * @type {string}
     * @description The A.B.N for the contact. */
    Abn;
    /**
     * @type {string}
     * @description The A.C.N for the contact. */
    Acn;
    /**
     * @type {string}
     * @description The A.R.B.N for the contact. */
    Arbn;
    /**
     * @type {string}
     * @description A trading name for the contact. */
    TradingName;
    /**
     * @type {string}
     * @description A legal name for the contact. */
    LegalName;
    /**
     * @type {string}
     * @description Any notes/description for the contact. */
    Notes;
    /**
     * @type {string}
     * @description Contact Employment Industry. */
    EmploymentIndustry;
    /**
     * @type {string}
     * @description Contact Employment Role. */
    EmploymentRole;
    /**
     * @type {string}
     * @description Contact Employment Geographic Area. */
    EmploymentGeographicArea;
    /**
     * @type {string}
     * @description The Contacts Drivers Licence Number */
    DriversLicence;
    /**
     * @type {boolean}
     * @description Indicates if the Contact is registered for GST */
    GstRegistered;
    /**
     * @type {string}
     * @description The status of the contact in EROS */
    RecordStatus;
    /**
     * @type {ContactRole[]}
     * @description A list of roles this contact has. */
    ContactRoles = [];
    /**
     * @type {ContactDetailModel[]}
     * @description A list of the contact details for the contact. */
    ContactDetails = [];
    /**
     * @type {string}
     * @description Custom Content XML for the contact. */
    CustomContentXML;
    /** @type {string} */
    BlobImageURLPrimary;
    /** @type {string} */
    BlobImageURLPrimaryThumbnail;
    /**
     * @type {string}
     * @description The primary mobile for the contact. */
    PrimaryMobile;
    /**
     * @type {string}
     * @description The primary email for the contact. */
    PrimaryEmail;
}
export class SaveContact extends ValidationErrorList {
    /** @param {{SuiteDataSourceInstanceId?:string,AlternateKey?:string,ObjectId?:string,IgnoreHash?:boolean,IgnoreValidation?:boolean,MarkAsDeleted?:boolean,Contact?:SubscriptionContactModel,LicenseeId?:string,SessionId?:string,ValidationErrors?:RuleValidationResult[]}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {string}
     * @description Guid representing the external systems datasource information. */
    SuiteDataSourceInstanceId;
    /**
     * @type {string}
     * @description The unique key that represents the contact on the external system. */
    AlternateKey;
    /**
     * @type {string}
     * @description Guid of the contact object within Eros.  If ObjectId is known, the external system may pass this instead of the alternate key. */
    ObjectId;
    /**
     * @type {boolean}
     * @description If set to true, the object will be updated/refreshed. If false, the hash representation of the Contact model and its data will be compared with the current Contact to determine if there are any changes to save. */
    IgnoreHash;
    /** @type {boolean} */
    IgnoreValidation;
    /**
     * @type {boolean}
     * @description Set this to be true if the contact is to be deleted */
    MarkAsDeleted;
    /**
     * @type {SubscriptionContactModel}
     * @description Object containing all details of the contact to be inserted or updated. */
    Contact;
    /** @type {string} */
    LicenseeId;
    /** @type {string} */
    SessionId;
}

JavaScript SaveContact DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/SaveContact HTTP/1.1 
Host: production-eros-platform-apisubscription.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SaveContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription">
  <_x003C_ValidationErrors_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Eros.Saguna.Common.Library.ValidationEngine">
    <RuleValidationResult>
      <_x003C_ErrorCode_x003E_k__BackingField>String</_x003C_ErrorCode_x003E_k__BackingField>
      <_x003C_Key_x003E_k__BackingField>String</_x003C_Key_x003E_k__BackingField>
      <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField>
      <_x003C_RuleCode_x003E_k__BackingField>String</_x003C_RuleCode_x003E_k__BackingField>
      <_x003C_Tag_x003E_k__BackingField>String</_x003C_Tag_x003E_k__BackingField>
    </RuleValidationResult>
  </_x003C_ValidationErrors_x003E_k__BackingField>
  <AlternateKey>String</AlternateKey>
  <Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eros.Saguna.Common.WebAPI.ServiceModel">
    <d2p1:_x003C_Abn_x003E_k__BackingField>String</d2p1:_x003C_Abn_x003E_k__BackingField>
    <d2p1:_x003C_Acn_x003E_k__BackingField>String</d2p1:_x003C_Acn_x003E_k__BackingField>
    <d2p1:_x003C_Arbn_x003E_k__BackingField>String</d2p1:_x003C_Arbn_x003E_k__BackingField>
    <d2p1:_x003C_BirthDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_BirthDate_x003E_k__BackingField>
    <d2p1:_x003C_BlobImageURLPrimaryThumbnail_x003E_k__BackingField>String</d2p1:_x003C_BlobImageURLPrimaryThumbnail_x003E_k__BackingField>
    <d2p1:_x003C_BlobImageURLPrimary_x003E_k__BackingField>String</d2p1:_x003C_BlobImageURLPrimary_x003E_k__BackingField>
    <d2p1:_x003C_ContactDetails_x003E_k__BackingField>
      <d2p1:ContactDetailModel>
        <d2p1:_x003C_ContactAddress_x003E_k__BackingField>
          <d2p1:_x003C_Address_x003E_k__BackingField>
            <d2p1:_addressFull>String</d2p1:_addressFull>
            <d2p1:_x003C_AddressFormatId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_AddressFormatId_x003E_k__BackingField>
            <d2p1:_x003C_AddressLineOne_x003E_k__BackingField>String</d2p1:_x003C_AddressLineOne_x003E_k__BackingField>
            <d2p1:_x003C_AddressLineTwo_x003E_k__BackingField>String</d2p1:_x003C_AddressLineTwo_x003E_k__BackingField>
            <d2p1:_x003C_AutoMapCoordinates_x003E_k__BackingField>false</d2p1:_x003C_AutoMapCoordinates_x003E_k__BackingField>
            <d2p1:_x003C_BuildingNumber_x003E_k__BackingField>String</d2p1:_x003C_BuildingNumber_x003E_k__BackingField>
            <d2p1:_x003C_CountryId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_CountryId_x003E_k__BackingField>
            <d2p1:_x003C_CountryName_x003E_k__BackingField>String</d2p1:_x003C_CountryName_x003E_k__BackingField>
            <d2p1:_x003C_DistanceAway_x003E_k__BackingField>0</d2p1:_x003C_DistanceAway_x003E_k__BackingField>
            <d2p1:_x003C_ISOCountryCode_x003E_k__BackingField>String</d2p1:_x003C_ISOCountryCode_x003E_k__BackingField>
            <d2p1:_x003C_IsPhysical_x003E_k__BackingField>false</d2p1:_x003C_IsPhysical_x003E_k__BackingField>
            <d2p1:_x003C_Latitude_x003E_k__BackingField>0</d2p1:_x003C_Latitude_x003E_k__BackingField>
            <d2p1:_x003C_LocationCoordinates_x003E_k__BackingField>
              <d2p1:_x003C_Accuracy_x003E_k__BackingField>0</d2p1:_x003C_Accuracy_x003E_k__BackingField>
              <d2p1:_x003C_AltitudeAccuracy_x003E_k__BackingField>0</d2p1:_x003C_AltitudeAccuracy_x003E_k__BackingField>
              <d2p1:_x003C_Altitude_x003E_k__BackingField>0</d2p1:_x003C_Altitude_x003E_k__BackingField>
              <d2p1:_x003C_Heading_x003E_k__BackingField>0</d2p1:_x003C_Heading_x003E_k__BackingField>
              <d2p1:_x003C_Latitude_x003E_k__BackingField>0</d2p1:_x003C_Latitude_x003E_k__BackingField>
              <d2p1:_x003C_Longitude_x003E_k__BackingField>0</d2p1:_x003C_Longitude_x003E_k__BackingField>
              <d2p1:_x003C_Speed_x003E_k__BackingField>0</d2p1:_x003C_Speed_x003E_k__BackingField>
              <d2p1:_x003C_VerticalSpeed_x003E_k__BackingField>0</d2p1:_x003C_VerticalSpeed_x003E_k__BackingField>
            </d2p1:_x003C_LocationCoordinates_x003E_k__BackingField>
            <d2p1:_x003C_Longitude_x003E_k__BackingField>0</d2p1:_x003C_Longitude_x003E_k__BackingField>
            <d2p1:_x003C_LotNumber_x003E_k__BackingField>String</d2p1:_x003C_LotNumber_x003E_k__BackingField>
            <d2p1:_x003C_Notes_x003E_k__BackingField>String</d2p1:_x003C_Notes_x003E_k__BackingField>
            <d2p1:_x003C_PostCode_x003E_k__BackingField>String</d2p1:_x003C_PostCode_x003E_k__BackingField>
            <d2p1:_x003C_StateShortName_x003E_k__BackingField>String</d2p1:_x003C_StateShortName_x003E_k__BackingField>
            <d2p1:_x003C_StreetName_x003E_k__BackingField>String</d2p1:_x003C_StreetName_x003E_k__BackingField>
            <d2p1:_x003C_StreetNumber_x003E_k__BackingField>String</d2p1:_x003C_StreetNumber_x003E_k__BackingField>
            <d2p1:_x003C_SubUnit_x003E_k__BackingField>String</d2p1:_x003C_SubUnit_x003E_k__BackingField>
            <d2p1:_x003C_SuburbId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_SuburbId_x003E_k__BackingField>
            <d2p1:_x003C_SuburbName_x003E_k__BackingField>String</d2p1:_x003C_SuburbName_x003E_k__BackingField>
          </d2p1:_x003C_Address_x003E_k__BackingField>
          <d2p1:_x003C_CountryName_x003E_k__BackingField>String</d2p1:_x003C_CountryName_x003E_k__BackingField>
          <d2p1:_x003C_IsPostal_x003E_k__BackingField>false</d2p1:_x003C_IsPostal_x003E_k__BackingField>
          <d2p1:_x003C_IsPrimaryLocation_x003E_k__BackingField>false</d2p1:_x003C_IsPrimaryLocation_x003E_k__BackingField>
          <d2p1:_x003C_IsRegisteredLocation_x003E_k__BackingField>false</d2p1:_x003C_IsRegisteredLocation_x003E_k__BackingField>
          <d2p1:_x003C_StateName_x003E_k__BackingField>String</d2p1:_x003C_StateName_x003E_k__BackingField>
          <d2p1:_x003C_SuburbName_x003E_k__BackingField>String</d2p1:_x003C_SuburbName_x003E_k__BackingField>
        </d2p1:_x003C_ContactAddress_x003E_k__BackingField>
        <d2p1:_x003C_ContactDetailsCode_x003E_k__BackingField>String</d2p1:_x003C_ContactDetailsCode_x003E_k__BackingField>
        <d2p1:_x003C_ContactDetails_x003E_k__BackingField>String</d2p1:_x003C_ContactDetails_x003E_k__BackingField>
        <d2p1:_x003C_ContactMethodId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_ContactMethodId_x003E_k__BackingField>
        <d2p1:_x003C_ContactMethodName_x003E_k__BackingField>String</d2p1:_x003C_ContactMethodName_x003E_k__BackingField>
        <d2p1:_x003C_ContactPhone_x003E_k__BackingField>
          <d2p1:_x003C_AreaCode_x003E_k__BackingField>String</d2p1:_x003C_AreaCode_x003E_k__BackingField>
          <d2p1:_x003C_CountryCode_x003E_k__BackingField>String</d2p1:_x003C_CountryCode_x003E_k__BackingField>
          <d2p1:_x003C_LocalNumber_x003E_k__BackingField>String</d2p1:_x003C_LocalNumber_x003E_k__BackingField>
        </d2p1:_x003C_ContactPhone_x003E_k__BackingField>
        <d2p1:_x003C_CountryId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_CountryId_x003E_k__BackingField>
        <d2p1:_x003C_IsPrimaryContactMethod_x003E_k__BackingField>false</d2p1:_x003C_IsPrimaryContactMethod_x003E_k__BackingField>
        <d2p1:_x003C_Notes_x003E_k__BackingField>String</d2p1:_x003C_Notes_x003E_k__BackingField>
        <d2p1:_x003C_OrderContactMethod_x003E_k__BackingField>0</d2p1:_x003C_OrderContactMethod_x003E_k__BackingField>
      </d2p1:ContactDetailModel>
    </d2p1:_x003C_ContactDetails_x003E_k__BackingField>
    <d2p1:_x003C_ContactId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_ContactId_x003E_k__BackingField>
    <d2p1:_x003C_ContactRoles_x003E_k__BackingField>
      <d2p1:ContactRole>
        <d2p1:_x003C_AlternateKey_x003E_k__BackingField>String</d2p1:_x003C_AlternateKey_x003E_k__BackingField>
        <d2p1:_x003C_RoleId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_RoleId_x003E_k__BackingField>
      </d2p1:ContactRole>
    </d2p1:_x003C_ContactRoles_x003E_k__BackingField>
    <d2p1:_x003C_ContactType_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_ContactType_x003E_k__BackingField>
    <d2p1:_x003C_CustomContentXML_x003E_k__BackingField>String</d2p1:_x003C_CustomContentXML_x003E_k__BackingField>
    <d2p1:_x003C_DriversLicence_x003E_k__BackingField>String</d2p1:_x003C_DriversLicence_x003E_k__BackingField>
    <d2p1:_x003C_EmploymentGeographicArea_x003E_k__BackingField>String</d2p1:_x003C_EmploymentGeographicArea_x003E_k__BackingField>
    <d2p1:_x003C_EmploymentIndustry_x003E_k__BackingField>String</d2p1:_x003C_EmploymentIndustry_x003E_k__BackingField>
    <d2p1:_x003C_EmploymentRole_x003E_k__BackingField>String</d2p1:_x003C_EmploymentRole_x003E_k__BackingField>
    <d2p1:_x003C_FirstName_x003E_k__BackingField>String</d2p1:_x003C_FirstName_x003E_k__BackingField>
    <d2p1:_x003C_FullName_x003E_k__BackingField>String</d2p1:_x003C_FullName_x003E_k__BackingField>
    <d2p1:_x003C_Gender_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_Gender_x003E_k__BackingField>
    <d2p1:_x003C_GstRegistered_x003E_k__BackingField>false</d2p1:_x003C_GstRegistered_x003E_k__BackingField>
    <d2p1:_x003C_LegalName_x003E_k__BackingField>String</d2p1:_x003C_LegalName_x003E_k__BackingField>
    <d2p1:_x003C_MaritalStatus_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_MaritalStatus_x003E_k__BackingField>
    <d2p1:_x003C_MiddleName_x003E_k__BackingField>String</d2p1:_x003C_MiddleName_x003E_k__BackingField>
    <d2p1:_x003C_Notes_x003E_k__BackingField>String</d2p1:_x003C_Notes_x003E_k__BackingField>
    <d2p1:_x003C_PrimaryEmail_x003E_k__BackingField>String</d2p1:_x003C_PrimaryEmail_x003E_k__BackingField>
    <d2p1:_x003C_PrimaryMobile_x003E_k__BackingField>String</d2p1:_x003C_PrimaryMobile_x003E_k__BackingField>
    <d2p1:_x003C_RecordStatus_x003E_k__BackingField>String</d2p1:_x003C_RecordStatus_x003E_k__BackingField>
    <d2p1:_x003C_Salutation_x003E_k__BackingField>String</d2p1:_x003C_Salutation_x003E_k__BackingField>
    <d2p1:_x003C_ShortName_x003E_k__BackingField>String</d2p1:_x003C_ShortName_x003E_k__BackingField>
    <d2p1:_x003C_Surname_x003E_k__BackingField>String</d2p1:_x003C_Surname_x003E_k__BackingField>
    <d2p1:_x003C_Title_x003E_k__BackingField>String</d2p1:_x003C_Title_x003E_k__BackingField>
    <d2p1:_x003C_TradingName_x003E_k__BackingField>String</d2p1:_x003C_TradingName_x003E_k__BackingField>
  </Contact>
  <IgnoreHash>false</IgnoreHash>
  <LicenseeId>00000000-0000-0000-0000-000000000000</LicenseeId>
  <MarkAsDeleted>false</MarkAsDeleted>
  <ObjectId>00000000-0000-0000-0000-000000000000</ObjectId>
  <SessionId>00000000-0000-0000-0000-000000000000</SessionId>
  <SuiteDataSourceInstanceId>00000000-0000-0000-0000-000000000000</SuiteDataSourceInstanceId>
</SaveContact>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <ErrorCode>String</ErrorCode>
  <Message>String</Message>
  <StackTrace>String</StackTrace>
  <Errors>
    <ResponseError>
      <ErrorCode>String</ErrorCode>
      <FieldName>String</FieldName>
      <Message>String</Message>
      <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Meta>
    </ResponseError>
  </Errors>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
</ResponseStatus>