WSAPI Web Service
WSAPI Web Service / All Operations Resource Group / /v3/WSAPIService.svc/CustomerProfileAnswerGet (Method)
In This Topic
    Method/v3/WSAPIService.svc/CustomerProfileAnswerGet
    In This Topic
    Description
    Retrieves a CustomerProfileAnswer entity using the Customer Id and Question Id.
    Request (WSAPIServiceContract_CustomerProfileAnswerGet_InputMessage)

    The request body is of type CustomerProfileAnswerGet.

    Request Body Parameters

    NameDescriptionData Type
     CustomerProfileAnswerGetRequest
    QuestionId Element CustomerId Element Sequence request Element Sequence CustomerProfileAnswerGet Element

    Overview

    Sequence
    Sequence
    CustomerId optional guid Simple Type
    Globally Unique Identifier(GUID) for the customer. 36 character alpha-numeric column formatted as: 00000000-0000-0000-0000-000000000000
    QuestionId optional guid Simple Type
    Globally Unique Identifier(GUID) for the QuestionId. 36 character alpha-numeric column formatted as: 00000000-0000-0000-0000-000000000000
    Response (WSAPIServiceContract_CustomerProfileAnswerGet_OutputMessage)

    The response body is of type CustomerProfileAnswerGetResponse.

    Response Body Parameters

    NameDescriptionData Type
    Message response object containing the requested CustomerProfileAnswer and status data for the call.CustomerProfileAnswerGetResponse
    QuestionId Element CustomerId Element AnswerLength Element AnswerFormat Element TypeOfBusiness Element AnswerText Element QuestionText Element Sequence CustomerProfileAnswer Element Sequence CustomerProfileAnswerGetResult Element Sequence CustomerProfileAnswerGetResponse Element

    Overview

    Sequence
    CustomerProfileAnswerGetResult optional CustomerProfileAnswerGetResponse Complex Type
    Message response object containing the requested CustomerProfileAnswer and status data for the call.
    Sequence
    CustomerProfileAnswer optional CustomerProfileAnswer Complex Type
    Single CustomerProfileAnswer type data structure.
    Sequence
    QuestionText optional xs:string
    Text of the question to which the CustomerProfileAnswer belongs.
    AnswerText optional xs:string
    Answer text of the CustomerProfileAnswer. A null value means no AnswerText exists and that the associated Customer Profile Question, has never been answered.
    TypeOfBusiness optional xs:short
    AnswerFormat optional xs:string
    Format required for answer text of CustomerProfileAnswer. Available Formats:

    ALPHA = A-Z

    AN = Alphanumeric Characters only

    MONEY = Must contain one dollar sign, one decimal point, and two digits following decimal point ($1.00)

    MM = Must be a valid month within the range of 01 - 12

    MMDDYYYY = Must contain forward slashes between Month, Day, and Year (MM/DD/YYYY)and be within the range of 01/01/1753 - 12/31/9999

    MMYYYY = Must contain forward slash between Month and Year (MM/YYYY) and be within the range of 01/1753 - 12/9999

    NUM = Must be numeric (123,456,789) Number must be between [0; 999999999]

    PHONE = Must contain a dash and two parentheses if area code present (###-#### or (###)###-####)

    SSN = Must contain two dashes (###-##-####)

    STATE = Must be valid two-character state code

    TEXT = Any character

    TIME = Must be HH:MM AM or PM

    YN = Y or N

    YYYY = Must include four digits for the year

    ZIP = Must be one of these: Canadian zip A#A #A# (including space) or all digits 5 or 9 (dash required) in length

    AnswerLength optional xs:int
    Number of characters allowed for CustomerProfileAnswer. Setup in AMS360 via Profile Questions setup. Available Length:
    80 characters allowed for Answer Formats: ALPHA, TEXT, and AN.
    CustomerId optional guid Simple Type
    Globally Unique Identifier(GUID) for the customer. 36 character alpha-numeric column formatted as: 00000000-0000-0000-0000-000000000000
    QuestionId optional guid Simple Type
    Globally Unique Identifier(GUID) for the QuestionId. 36 character alpha-numeric column formatted as: 00000000-0000-0000-0000-000000000000
    Fault Responses
    FaultDescription
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_CustomerProfileAnswerGet_WSAPISecurityFaultFault_FaultMessage.  
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_CustomerProfileAnswerGet_WSAPIBusinessFaultFault_FaultMessage.  
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_CustomerProfileAnswerGet_WSAPIGeneralFaultFault_FaultMessage.  
    See Also