Search Results for

    Show / Hide Table of Contents

    Method GetDossierData

    GetDossierData(String, String, String)

    Get the dossier data

    Declaration
    DossierDataContract GetDossierData(string connectionId, string documentId, string versionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String documentId

    The document id of the document.

    System.String versionId

    Optional:The version id for the specific version of the document. No need for a version id if you want the dossier data of the current document

    Returns
    Type Description
    DossierDataContract
    Examples

    POST http://YourServerName/InfoShare/Json/Common/GetDossierData

    Example for getting the dossier data

    {
        "connectionId": "14fdf675-1c54-4bba-880e-ea09e314ab05", 
        "documentId": "6b155b1b-0e03-4a23-861c-f38bdc61aa05",
        "versionId": "6b155b1b-0e03-4a23-861c-f38bdc61aa05"
    }

    Response

    {
       "GetDossierDataResult": {
           "DossierDataFields": [
               {
                   "Key": "Company",
                   "Value": "FNr01"
               },
               {
                   "Key": "PersonalNumber",
                   "Value": ""
               },
               {
                   "Key": "AccountingGroup",
                   "Value": ""
               },
               {
                   "Key": "Affiliate",
                   "Value": ""
               },
               {
                   "Key": "Lastname",
                   "Value": ""
               },
               {
                   "Key": "Firstname",
                   "Value": ""
               },
               {
                   "Key": "Title",
                   "Value": ""
               },
               {
                   "Key": "Salutation",
                   "Value": ""
               },
               {
                   "Key": "Department",
                   "Value": ""
               },
               {
                   "Key": "NameAffix",
                   "Value": ""
               },
               {
                   "Key": "Sex",
                   "Value": "m"
               },
               {
                   "Key": "DateOfBirth",
                   "Value": ""
               },
               {
                   "Key": "DateOfHire",
                   "Value": "01.01.2002"
               },
               {
                   "Key": "LeavingDate",
                   "Value": ""
               },
               {
                   "Key": "LimitedInTime",
                   "Value": ""
               },
               {
                   "Key": "FamilyStatus",
                   "Value": ""
               },
               {
                   "Key": "NumberOfChildren",
                   "Value": "0"
               },
               {
                   "Key": "PersonFreifeld1",
                   "Value": ""
               },
               {
                   "Key": "PersonFreifeld2",
                   "Value": ""
               },
               {
                   "Key": "PersonFreifeld3",
                   "Value": ""
               },
               {
                   "Key": "Street",
                   "Value": ""
               },
               {
                   "Key": "StreetNumber",
                   "Value": ""
               },
               {
                   "Key": "CountryCode",
                   "Value": ""
               },
               {
                   "Key": "ZipCode",
                   "Value": ""
               },
               {
                   "Key": "Place",
                   "Value": ""
               },
               {
                   "Key": "AdressFreifeld1",
                   "Value": ""
               },
               {
                   "Key": "AdressFreifeld2",
                   "Value": ""
               },
               {
                   "Key": "AdressFreifeld3",
                   "Value": ""
               },
               {
                   "Key": "Nationality",
                   "Value": "CH"
               },
               {
                   "Key": "Tel",
                   "Value": ""
               },
               {
                   "Key": "TelPrivate",
                   "Value": ""
               },
               {
                   "Key": "TelMobile",
                   "Value": ""
               },
               {
                   "Key": "TelMobilePrivate",
                   "Value": ""
               },
               {
                   "Key": "Email",
                   "Value": "teste@test.com"
               },
               {
                   "Key": "EmailPrivate",
                   "Value": ""
               },
               {
                   "Key": "KommunikationFreifeld1",
                   "Value": ""
               },
               {
                   "Key": "KommunikationFreifeld2",
                   "Value": ""
               },
               {
                   "Key": "KommunikationFreifeld3",
                   "Value": ""
               },
               {
                   "Key": "Role",
                   "Value": ""
               },
               {
                   "Key": "CostCentre",
                   "Value": ""
               },
               {
                   "Key": "CostUnit",
                   "Value": ""
               },
               {
                   "Key": "LineManager",
                   "Value": ""
               },
               {
                   "Key": "Occupation",
                   "Value": ""
               },
               {
                   "Key": "BrancheRate",
                   "Value": ""
               },
               {
                   "Key": "ZoneRate",
                   "Value": ""
               },
               {
                   "Key": "GroupRate",
                   "Value": ""
               },
               {
                   "Key": "OrganisationFreifeld1",
                   "Value": ""
               },
               {
                   "Key": "OrganisationFreifeld2",
                   "Value": ""
               },
               {
                   "Key": "OrganisationFreifeld3",
                   "Value": ""
               },
               {
                   "Key": "Wehrdienstgeleistet",
                   "Value": "true"
               },
               {
                   "Key": "Fuehrerschein",
                   "Value": "true"
               },
               {
                   "Key": "Schulbildung",
                   "Value": ""
               },
               {
                   "Key": "Berufsbildung",
                   "Value": ""
               },
               {
                   "Key": "Hochschulbildung",
                   "Value": ""
               },
               {
                   "Key": "Sprachkenntnisse",
                   "Value": ""
               },
               {
                   "Key": "CompanyCar",
                   "Value": "true"
               },
               {
                   "Key": "FirmenMobilTelefon",
                   "Value": "true"
               },
               {
                   "Key": "SocialInsuranceNumber",
                   "Value": ""
               },
               {
                   "Key": "TaxNumber",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld1",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld2",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld3",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld4",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld5",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld6",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld7",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld8",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld9",
                   "Value": ""
               },
               {
                   "Key": "OptionFreifeld10",
                   "Value": ""
               },
               {
                   "Key": "UniqueID",
                   "Value": "33"
               },
               {
                   "Key": "Belegart",
                   "Value": "Personalaktendeckel"
               }
           ]
       }
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId} (10071)

    ServiceException

    The xml is not valid (10342)

    Back to top Copyright © Kendox