WSAPI Web Service
WSAPI Web Service / All Operations Resource Group / /v3/WSAPIService.svc/LineOfBusinessGetByCode (Method)
In This Topic
    Method/v3/WSAPIService.svc/LineOfBusinessGetByCode
    In This Topic
    Description
    Retrieves a single line of business entity by line of business code. It will return information regardless of whether or not the line of business is active.
    Request (WSAPIServiceContract_LineOfBusinessGetByCode_InputMessage)

    The request body is of type LineOfBusinessGetByCode.

    Request Body Parameters

    NameDescriptionData Type
    Message request object containing the selection criteria for the line of business data to return.LineOfBusinessGetByCodeRequest
    LineOfBusinessCode Element Sequence Request Element Sequence LineOfBusinessGetByCode Element

    Overview

    Sequence
    Request optional LineOfBusinessGetByCodeRequest Complex Type
    Message request object containing the selection criteria for the line of business data to return.
    Sequence
    LineOfBusinessCode optional xs:string
    A character code representing the line of business. This must correspondto a code for a defined line of business or no data will be returned. Code value corresponding to a line of business.
    Response (WSAPIServiceContract_LineOfBusinessGetByCode_OutputMessage)

    The response body is of type LineOfBusinessGetByCodeResponse.

    Response Body Parameters

    NameDescriptionData Type
    Message response object containing line of business data matching the selection criteria specified in the RequestMsg.LineOfBusinessGetByCodeResponse
    TypeOfBusinessCode Element LineOfBusinessCode Element IsInactive Element IncomeGroup Element Description Element Sequence LineOfBusiness Element Sequence LineOfBusinessGetByCodeResult Element Sequence LineOfBusinessGetByCodeResponse Element

    Overview

    Sequence
    LineOfBusinessGetByCodeResult optional LineOfBusinessGetByCodeResponse Complex Type
    Message response object containing line of business data matching the selection criteria specified in the RequestMsg.
    Sequence
    LineOfBusiness optional LineOfBusiness Complex Type
    Single line of business data structure.
    Sequence
    Description optional xs:string
    A full description name for the line of business.
    IncomeGroup optional xs:string
    The code of the income group with which the line of business is associated. Code value from the "IncomeGroup" value list.
    FS = Financial Services Premium
    LH = Life and Health Premium
    OP = Other Premium
    PC = Property and Casualty Premium


    Method=ValueListGet()
    InputType=ValueListGetRequest
    ListName=IncomeGroup
    IsInactive optional xs:boolean
    Flag indicating whether the line of business is inactive or active.
    LineOfBusinessCode optional xs:string
    A character code representing the line of business. Valid AMS360 Line of Business codes.
    TypeOfBusinessCode optional xs:short
    Fault Responses
    FaultDescription
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_LineOfBusinessGetByCode_WSAPISecurityFaultFault_FaultMessage.  
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_LineOfBusinessGetByCode_WSAPIBusinessFaultFault_FaultMessage.  
    This fault returns a response body of type https://wsapi.ams360.com/v3.0:WSAPIServiceContract_LineOfBusinessGetByCode_WSAPIGeneralFaultFault_FaultMessage.  
    See Also