CenResService

<back to all web services

MembershipPost

The following routes are available for this service:
POST/membership/{SubscriptionId}/{CendynPropertyId}
MembershipPost Parameters:
NameParameterData TypeRequiredDescription
ProfileContainerbodyProfileContainerNo
SubscriptionIdpathstringNo
CendynPropertyIdpathstringNo
ProfileContainer Parameters:
NameParameterData TypeRequiredDescription
EchoTokenformstringNo
ChangeActionformstringNo
ProfilesformList<Profile>No
Profile Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIDformstringNo
PropertyNameformstringNo
UniqueIDsformList<UniqueIDType>No
ProfileTypeCodeformstringNo
ProfileTypeDescriptionformstringNo
NameCodeformstringNo
ProfileTypeCategoryformstringNo
JobTitleformstringNo
SalutationformstringNo
FirstNameformstringNo
FamiliarNameformstringNo
MiddleNameformstringNo
LastNameformstringNo
FullNameformstringNo
NameSuffixformstringNo
VIPIDformstringNo
VIPCodeformstringNo
PrimaryLanguageformstringNo
GenderCodeformstringNo
DOBYearformstringNo
DOBMonthformstringNo
DOBDayOfMonthformstringNo
CompanyNameformstringNo
ARNumberformstringNo
AllowMailformbool?No
AllowEMailformbool?No
GuestPrivformbool?No
AllowPhoneformbool?No
AllowSMSformbool?No
AllowHistoryformbool?No
AllowMarketResearchformbool?No
AllowThirdPartyformbool?No
AllowLoyaltyProgramformbool?No
CreatorCodeformstringNo
LastUpdaterCodeformstringNo
DateProfileCreatedformDateTime?No
DateProfileUpdatedformDateTime?No
InactiveDateformDateTime?No
NationalityformstringNo
ResortCodeformstringNo
RetiredProfileIdformstringNo
TransferredSubscriptionIdformstringNo
SourceNameformstringNo
SourceIDformstringNo
OptOutMarketingformbool?No
OptOutDateformDateTime?No
ProfileExtensionformProfileExtensionNo
AddressesformList<Address>No
MembershipsformList<Membership>No
ContactMethodsformList<ContactMethod>No
ActionCommentsformList<ActionComment>No
SpecialRequestsformList<SpecialRequest>No
UDFDataCollectionformList<UDFDataType>No
LeadformLeadNo
RelatedTravelersformList<RelatedTraveler>No
DocumentsformList<Document>No
VouchersformList<Voucher>No
ProfilePoliciesformList<ProfilePolicy>No
UniqueIDType Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
TypeformstringNo
ContextformstringNo
ProfileExtension Parameters:
NameParameterData TypeRequiredDescription
LanguageCodeformstringNo
SalutationExtformstringNo
FirstNameExtformstringNo
FamiliarNameExtformstringNo
MiddleNameExtformstringNo
LastNameExtformstringNo
NameSuffixExtformstringNo
CompanyNameExtformstringNo
BlacklistformstringNo
BlackListMessageformstringNo
AnonymizationStatusformstringNo
Address Parameters:
NameParameterData TypeRequiredDescription
AddressTypeCodeformstringNo
AddressTypeDescriptionformstringNo
AddressStatusformstringNo
AttnformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateProvinceformstringNo
PostalCodeformstringNo
CountryCodeformstringNo
IsPrimaryformbool?No
AddressLanguageformstringNo
AddressCleansedformbool?No
OptOutMarketingformbool?No
OptOutDateformDateTime?No
Membership Parameters:
NameParameterData TypeRequiredDescription
ExternalIDformstringNo
ProgramCodeformstringNo
MembershipIDformstringNo
MembershipCategoryformstringNo
MembershipNameformstringNo
MembershipLevelformstringNo
MembershipStatusformstringNo
EnrollmentCodeformstringNo
DateMembershipStartsformDateTime?No
DateMembershipExpiresformDateTime?No
TotalStaysformint?No
AwardCreditsformint?No
AwardAvailableformint?No
PrimaryAirlineformbool?No
DisplaySequenceformint?No
SourceNameformstringNo
SourceIDformstringNo
IsActiveformboolNo
InactiveDateformDateTime?No
PointsIndicatorformbool?No
ContactMethod Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNo
CategoryformstringNo
DataValueformstringNo
ExtraDataformstringNo
OptOutformbool?No
SourceDateformDateTime?No
IsPrimaryformbool?No
Confirmationformbool?No
InactiveDateformDateTime?No
OptOutMarketingformbool?No
OptOutDateformDateTime?No
ActionComment Parameters:
NameParameterData TypeRequiredDescription
ExternalIDformstringNo
CommentTypeformstringNo
CommentTitleformstringNo
CommentClassformstringNo
ActionTypeformstringNo
CommentformstringNo
ActionDateformDateTime?No
InactiveDateformDateTime?No
GuestViewableformbool?No
CreatorCodeformstringNo
DateCommentCreatedformDateTime?No
ResortCodeformstringNo
SpecialRequest Parameters:
NameParameterData TypeRequiredDescription
ExternalIDformstringNo
RequestTypeformstringNo
RequestCodeformstringNo
RequestCommentsformstringNo
ResortFieldformstringNo
ActionTypeCodeformstringNo
ActionTypeformstringNo
InactiveDateformDateTime?No
UDFDataType Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIDformstringNo
ModuleNameformstringNo
TableNameformstringNo
ColumnNameformstringNo
UDFValueformstringNo
Lead Parameters:
NameParameterData TypeRequiredDescription
FK_ReservationformGuid?No
ExternalLeadIDformstringNo
ExternalLeadSourceformstringNo
LeadStatusformstringNo
LeadAcquiredformDateTime?No
TentativeStartDateformDateTime?No
TentativeEndDateformDateTime?No
AssignedAgentformstringNo
AssignedDateformDateTime?No
ContactMethodformstringNo
ContactAgentformstringNo
ContactDateformDateTime?No
LastFollowupMethodformstringNo
LastFollowupAgentformstringNo
LastFollowupDateformDateTime?No
BookingMethodformstringNo
BookingAgentformstringNo
BookingDateformDateTime?No
ReasonforStayformstringNo
MarketCodeformstringNo
CampaignCodeformstringNo
CampaignNameformstringNo
PriceEstimateformdecimal?No
FlaggedForAttentionformbool?No
RelatedTraveler Parameters:
NameParameterData TypeRequiredDescription
CendynPropertyIDformstringNo
PropertyNameformstringNo
UniqueIDsformList<UniqueIDType>No
SalutationformstringNo
FirstNameformstringNo
FamiliarNameformstringNo
MiddleNameformstringNo
LastNameformstringNo
FullNameformstringNo
SuffixformstringNo
RelationformstringNo
IsPrimaryformbool?No
Document Parameters:
NameParameterData TypeRequiredDescription
DocumentIDformstringNo
DocumentTypeformstringNo
DocumentSourceformstringNo
CodeOnDocumentformstringNo
DocumentNotesformstringNo
NameOnDocumentformstringNo
NationalityOnDocumentformstringNo
EffectiveDateformDateTime?No
ExpirationDateformDateTime?No
IssuerformstringNo
IssuerCountryformstringNo
IsPrimaryformbool?No
PII_StoredAsformstringNo
InactiveDateformDateTime?No
Voucher Parameters:
NameParameterData TypeRequiredDescription
HotelCodeformstringNo
VoucherIDformstringNo
VoucherID2formstringNo
AppliedToResortformstringNo
ReservationIDformstringNo
ProfileIDRecipientformstringNo
SubscriberIDRecipientformstringNo
RecipientNameformstringNo
EmailaddressformstringNo
ProfileIDPurchaserformstringNo
PurchaserNameformstringNo
VoucherStatusformstringNo
VoucherTypeformstringNo
MembershipTypeformstringNo
CertCodeformstringNo
CertNoformstringNo
ShortDescriptionformstringNo
GiftMessageformstringNo
CommentsformstringNo
VoucherAmountformdecimal?No
CurrencyCodeformstringNo
IssueTypeformstringNo
DateConsumedformDateTime?No
ExpirationDateformDateTime?No
AwardPointsformint?No
RuleTypeformstringNo
RuleValueformstringNo
CancelAllowedformbool?No
MaxExtensionsformint?No
ReferenceTypeformstringNo
ReferenceIDformstringNo
PromotionCodeformstringNo
ReservationConsumedformbool?No
WebConsumedformbool?No
PMSConsumedformbool?No
VerifyCertNoformbool?No
GenerateInLieuformbool?No
CreatorCodeformstringNo
LastUpdaterCodeformstringNo
FolioIDformstringNo
InactiveDateformDateTime?No
ProfilePolicy Parameters:
NameParameterData TypeRequiredDescription
PolicyTypeformstringNo
AttributeNameformstringNo
IntegerValueformint?No
StringValueformstringNo
EffectiveDateformDateTime?No
ExpirationDateformDateTime?No
CommentsformstringNo
ExternalIDformstringNo
AppliesToformstringNo
AppliesToDescriptorformstringNo
Response Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformstringNo
RecordCountformintNo
ErrorCountformintNo

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 /membership/{SubscriptionId}/{CendynPropertyId} HTTP/1.1 
Host: cert.cendyn.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MembershipPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenResSS.ServiceModel">
  <CendynPropertyId>String</CendynPropertyId>
  <ProfileContainer>
    <ChangeAction>String</ChangeAction>
    <EchoToken>String</EchoToken>
    <Profiles>
      <Profile>
        <ARNumber>String</ARNumber>
        <ActionComments>
          <ActionComment>
            <ActionDate>0001-01-01T00:00:00</ActionDate>
            <ActionType>String</ActionType>
            <Comment>String</Comment>
            <CommentClass>String</CommentClass>
            <CommentTitle>String</CommentTitle>
            <CommentType>String</CommentType>
            <CreatorCode>String</CreatorCode>
            <DateCommentCreated>0001-01-01T00:00:00</DateCommentCreated>
            <ExternalID>String</ExternalID>
            <GuestViewable>false</GuestViewable>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <ResortCode>String</ResortCode>
          </ActionComment>
        </ActionComments>
        <Addresses>
          <Address>
            <Address1>String</Address1>
            <Address2>String</Address2>
            <AddressCleansed>false</AddressCleansed>
            <AddressLanguage>String</AddressLanguage>
            <AddressStatus>String</AddressStatus>
            <AddressTypeCode>String</AddressTypeCode>
            <AddressTypeDescription>String</AddressTypeDescription>
            <Attn>String</Attn>
            <City>String</City>
            <CountryCode>String</CountryCode>
            <IsPrimary>false</IsPrimary>
            <OptOutDate>0001-01-01T00:00:00</OptOutDate>
            <OptOutMarketing>false</OptOutMarketing>
            <PostalCode>String</PostalCode>
            <StateProvince>String</StateProvince>
          </Address>
        </Addresses>
        <AllowEMail>false</AllowEMail>
        <AllowHistory>false</AllowHistory>
        <AllowLoyaltyProgram>false</AllowLoyaltyProgram>
        <AllowMail>false</AllowMail>
        <AllowMarketResearch>false</AllowMarketResearch>
        <AllowPhone>false</AllowPhone>
        <AllowSMS>false</AllowSMS>
        <AllowThirdParty>false</AllowThirdParty>
        <CendynPropertyID>String</CendynPropertyID>
        <CompanyName>String</CompanyName>
        <ContactMethods>
          <ContactMethod>
            <Category>String</Category>
            <Confirmation>false</Confirmation>
            <DataValue>String</DataValue>
            <ExtraData>String</ExtraData>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <IsPrimary>false</IsPrimary>
            <OptOut>false</OptOut>
            <OptOutDate>0001-01-01T00:00:00</OptOutDate>
            <OptOutMarketing>false</OptOutMarketing>
            <SourceDate>0001-01-01T00:00:00</SourceDate>
            <Type>String</Type>
          </ContactMethod>
        </ContactMethods>
        <CreatorCode>String</CreatorCode>
        <DOBDayOfMonth>String</DOBDayOfMonth>
        <DOBMonth>String</DOBMonth>
        <DOBYear>String</DOBYear>
        <DateProfileCreated>0001-01-01T00:00:00</DateProfileCreated>
        <DateProfileUpdated>0001-01-01T00:00:00</DateProfileUpdated>
        <Documents>
          <Document>
            <CodeOnDocument>String</CodeOnDocument>
            <DocumentID>String</DocumentID>
            <DocumentNotes>String</DocumentNotes>
            <DocumentSource>String</DocumentSource>
            <DocumentType>String</DocumentType>
            <EffectiveDate>0001-01-01T00:00:00</EffectiveDate>
            <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <IsPrimary>false</IsPrimary>
            <Issuer>String</Issuer>
            <IssuerCountry>String</IssuerCountry>
            <NameOnDocument>String</NameOnDocument>
            <NationalityOnDocument>String</NationalityOnDocument>
            <PII_StoredAs>String</PII_StoredAs>
          </Document>
        </Documents>
        <FamiliarName>String</FamiliarName>
        <FirstName>String</FirstName>
        <FullName>String</FullName>
        <GenderCode>String</GenderCode>
        <GuestPriv>false</GuestPriv>
        <InactiveDate>0001-01-01T00:00:00</InactiveDate>
        <JobTitle>String</JobTitle>
        <LastName>String</LastName>
        <LastUpdaterCode>String</LastUpdaterCode>
        <Lead>
          <AssignedAgent>String</AssignedAgent>
          <AssignedDate>0001-01-01T00:00:00</AssignedDate>
          <BookingAgent>String</BookingAgent>
          <BookingDate>0001-01-01T00:00:00</BookingDate>
          <BookingMethod>String</BookingMethod>
          <CampaignCode>String</CampaignCode>
          <CampaignName>String</CampaignName>
          <ContactAgent>String</ContactAgent>
          <ContactDate>0001-01-01T00:00:00</ContactDate>
          <ContactMethod>String</ContactMethod>
          <ExternalLeadID>String</ExternalLeadID>
          <ExternalLeadSource>String</ExternalLeadSource>
          <FK_Reservation>00000000-0000-0000-0000-000000000000</FK_Reservation>
          <FlaggedForAttention>false</FlaggedForAttention>
          <LastFollowupAgent>String</LastFollowupAgent>
          <LastFollowupDate>0001-01-01T00:00:00</LastFollowupDate>
          <LastFollowupMethod>String</LastFollowupMethod>
          <LeadAcquired>0001-01-01T00:00:00</LeadAcquired>
          <LeadStatus>String</LeadStatus>
          <MarketCode>String</MarketCode>
          <PriceEstimate>0</PriceEstimate>
          <ReasonforStay>String</ReasonforStay>
          <TentativeEndDate>0001-01-01T00:00:00</TentativeEndDate>
          <TentativeStartDate>0001-01-01T00:00:00</TentativeStartDate>
        </Lead>
        <Memberships>
          <Membership>
            <AwardAvailable>0</AwardAvailable>
            <AwardCredits>0</AwardCredits>
            <DateMembershipExpires>0001-01-01T00:00:00</DateMembershipExpires>
            <DateMembershipStarts>0001-01-01T00:00:00</DateMembershipStarts>
            <DisplaySequence>0</DisplaySequence>
            <EnrollmentCode>String</EnrollmentCode>
            <ExternalID>String</ExternalID>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <IsActive>false</IsActive>
            <MembershipCategory>String</MembershipCategory>
            <MembershipID>String</MembershipID>
            <MembershipLevel>String</MembershipLevel>
            <MembershipName>String</MembershipName>
            <MembershipStatus>String</MembershipStatus>
            <PointsIndicator>false</PointsIndicator>
            <PrimaryAirline>false</PrimaryAirline>
            <ProgramCode>String</ProgramCode>
            <SourceID>String</SourceID>
            <SourceName>String</SourceName>
            <TotalStays>0</TotalStays>
          </Membership>
        </Memberships>
        <MiddleName>String</MiddleName>
        <NameCode>String</NameCode>
        <NameSuffix>String</NameSuffix>
        <Nationality>String</Nationality>
        <OptOutDate>0001-01-01T00:00:00</OptOutDate>
        <OptOutMarketing>false</OptOutMarketing>
        <PrimaryLanguage>String</PrimaryLanguage>
        <ProfileExtension>
          <AnonymizationStatus>String</AnonymizationStatus>
          <BlackListMessage>String</BlackListMessage>
          <Blacklist>String</Blacklist>
          <CompanyNameExt>String</CompanyNameExt>
          <FamiliarNameExt>String</FamiliarNameExt>
          <FirstNameExt>String</FirstNameExt>
          <LanguageCode>String</LanguageCode>
          <LastNameExt>String</LastNameExt>
          <MiddleNameExt>String</MiddleNameExt>
          <NameSuffixExt>String</NameSuffixExt>
          <SalutationExt>String</SalutationExt>
        </ProfileExtension>
        <ProfilePolicies>
          <ProfilePolicy>
            <AppliesTo>String</AppliesTo>
            <AppliesToDescriptor>String</AppliesToDescriptor>
            <AttributeName>String</AttributeName>
            <Comments>String</Comments>
            <EffectiveDate>0001-01-01T00:00:00</EffectiveDate>
            <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
            <ExternalID>String</ExternalID>
            <IntegerValue>0</IntegerValue>
            <PolicyType>String</PolicyType>
            <StringValue>String</StringValue>
          </ProfilePolicy>
        </ProfilePolicies>
        <ProfileTypeCategory>String</ProfileTypeCategory>
        <ProfileTypeCode>String</ProfileTypeCode>
        <ProfileTypeDescription>String</ProfileTypeDescription>
        <PropertyName>String</PropertyName>
        <RelatedTravelers>
          <RelatedTraveler>
            <CendynPropertyID>String</CendynPropertyID>
            <FamiliarName>String</FamiliarName>
            <FirstName>String</FirstName>
            <FullName>String</FullName>
            <IsPrimary>false</IsPrimary>
            <LastName>String</LastName>
            <MiddleName>String</MiddleName>
            <PropertyName>String</PropertyName>
            <Relation>String</Relation>
            <Salutation>String</Salutation>
            <Suffix>String</Suffix>
            <UniqueIDs>
              <UniqueIDType>
                <Context>String</Context>
                <ID>String</ID>
                <Type>String</Type>
              </UniqueIDType>
            </UniqueIDs>
          </RelatedTraveler>
        </RelatedTravelers>
        <ResortCode>String</ResortCode>
        <RetiredProfileId>String</RetiredProfileId>
        <Salutation>String</Salutation>
        <SourceID>String</SourceID>
        <SourceName>String</SourceName>
        <SpecialRequests>
          <SpecialRequest>
            <ActionType>String</ActionType>
            <ActionTypeCode>String</ActionTypeCode>
            <ExternalID>String</ExternalID>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <RequestCode>String</RequestCode>
            <RequestComments>String</RequestComments>
            <RequestType>String</RequestType>
            <ResortField>String</ResortField>
          </SpecialRequest>
        </SpecialRequests>
        <TransferredSubscriptionId>String</TransferredSubscriptionId>
        <UDFDataCollection>
          <UDFDataType>
            <CendynPropertyID>String</CendynPropertyID>
            <ColumnName>String</ColumnName>
            <ModuleName>String</ModuleName>
            <TableName>String</TableName>
            <UDFValue>String</UDFValue>
          </UDFDataType>
        </UDFDataCollection>
        <UniqueIDs>
          <UniqueIDType>
            <Context>String</Context>
            <ID>String</ID>
            <Type>String</Type>
          </UniqueIDType>
        </UniqueIDs>
        <VIPCode>String</VIPCode>
        <VIPID>String</VIPID>
        <Vouchers>
          <Voucher>
            <AppliedToResort>String</AppliedToResort>
            <AwardPoints>0</AwardPoints>
            <CancelAllowed>false</CancelAllowed>
            <CertCode>String</CertCode>
            <CertNo>String</CertNo>
            <Comments>String</Comments>
            <CreatorCode>String</CreatorCode>
            <CurrencyCode>String</CurrencyCode>
            <DateConsumed>0001-01-01T00:00:00</DateConsumed>
            <Emailaddress>String</Emailaddress>
            <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
            <FolioID>String</FolioID>
            <GenerateInLieu>false</GenerateInLieu>
            <GiftMessage>String</GiftMessage>
            <HotelCode>String</HotelCode>
            <InactiveDate>0001-01-01T00:00:00</InactiveDate>
            <IssueType>String</IssueType>
            <LastUpdaterCode>String</LastUpdaterCode>
            <MaxExtensions>0</MaxExtensions>
            <MembershipType>String</MembershipType>
            <PMSConsumed>false</PMSConsumed>
            <ProfileIDPurchaser>String</ProfileIDPurchaser>
            <ProfileIDRecipient>String</ProfileIDRecipient>
            <PromotionCode>String</PromotionCode>
            <PurchaserName>String</PurchaserName>
            <RecipientName>String</RecipientName>
            <ReferenceID>String</ReferenceID>
            <ReferenceType>String</ReferenceType>
            <ReservationConsumed>false</ReservationConsumed>
            <ReservationID>String</ReservationID>
            <RuleType>String</RuleType>
            <RuleValue>String</RuleValue>
            <ShortDescription>String</ShortDescription>
            <SubscriberIDRecipient>String</SubscriberIDRecipient>
            <VerifyCertNo>false</VerifyCertNo>
            <VoucherAmount>0</VoucherAmount>
            <VoucherID>String</VoucherID>
            <VoucherID2>String</VoucherID2>
            <VoucherStatus>String</VoucherStatus>
            <VoucherType>String</VoucherType>
            <WebConsumed>false</WebConsumed>
          </Voucher>
        </Vouchers>
      </Profile>
    </Profiles>
  </ProfileContainer>
  <SubscriptionId>String</SubscriptionId>
</MembershipPost>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CenResSS.ServiceModel">
  <ErrorCount>0</ErrorCount>
  <RecordCount>0</RecordCount>
  <StatusCode>String</StatusCode>
</Response>