DigiOffice Gateway Web Services

<back to all web services

IDB_4PSBC_Import_Persoon

Import persoon record vanuit 4PS

Requires Authentication
The following routes are available for this service:
POST/api/4PSBC/ImportPersoon
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Import persoon record vanuit 4PS
    */
    @Api(Description="Import persoon record vanuit 4PS")
    public static class IDB_4PSBC_Import_Persoon
    {
        /**
        * Message header
        */
        @ApiMember(Description="Message header", IsRequired=true)
        public Header Header = null;

        /**
        * Message data
        */
        @ApiMember(Description="Message data", IsRequired=true)
        public Data_Person Data = null;
        
        public Header getHeader() { return Header; }
        public IDB_4PSBC_Import_Persoon setHeader(Header value) { this.Header = value; return this; }
        public Data_Person getData() { return Data; }
        public IDB_4PSBC_Import_Persoon setData(Data_Person value) { this.Data = value; return this; }
    }

    public static class Header
    {
        /**
        * Inhoud van het bericht
        */
        @ApiMember(Description="Inhoud van het bericht")
        public String Contains = null;

        /**
        * Datum aanmaak bericht
        */
        @ApiMember(Description="Datum aanmaak bericht")
        public String Date = null;

        /**
        * ID voor het bericht
        */
        @ApiMember(Description="ID voor het bericht")
        public String MessageID = null;

        /**
        * Verzender van het bericht
        */
        @ApiMember(Description="Verzender van het bericht")
        public String Sender = null;
        
        public String getContains() { return Contains; }
        public Header setContains(String value) { this.Contains = value; return this; }
        public String getDate() { return Date; }
        public Header setDate(String value) { this.Date = value; return this; }
        public String getMessageID() { return MessageID; }
        public Header setMessageID(String value) { this.MessageID = value; return this; }
        public String getSender() { return Sender; }
        public Header setSender(String value) { this.Sender = value; return this; }
    }

    public static class Data_Person
    {
        public UUID systemId = null;
        public UUID digiOfficeId = null;
        public String companyName4ps = null;
        public String no = null;
        public String firstName = null;
        public String middleName = null;
        public String surname = null;
        public String gender = null;
        public String initials = null;
        public String nameAbbreviation = null;
        public String title = null;
        public String titleBehindTheName = null;
        public String phoneNo = null;
        public String mobilePhoneNo = null;
        public String eMail = null;
        public String visitAddress = null;
        public String visitAddress2 = null;
        public String visitAddressPostCode = null;
        public String visitAddressCity = null;
        public String visitAddressCountryRegionId = null;
        public UUID companyId = null;
        public Boolean blocked = null;
        public String cocCity = null;
        
        public UUID getSystemId() { return systemId; }
        public Data_Person setSystemId(UUID value) { this.systemId = value; return this; }
        public UUID getDigiOfficeId() { return digiOfficeId; }
        public Data_Person setDigiOfficeId(UUID value) { this.digiOfficeId = value; return this; }
        public String getCompanyName4ps() { return companyName4ps; }
        public Data_Person setCompanyName4ps(String value) { this.companyName4ps = value; return this; }
        public String getNo() { return no; }
        public Data_Person setNo(String value) { this.no = value; return this; }
        public String getFirstName() { return firstName; }
        public Data_Person setFirstName(String value) { this.firstName = value; return this; }
        public String getMiddleName() { return middleName; }
        public Data_Person setMiddleName(String value) { this.middleName = value; return this; }
        public String getSurname() { return surname; }
        public Data_Person setSurname(String value) { this.surname = value; return this; }
        public String getGender() { return gender; }
        public Data_Person setGender(String value) { this.gender = value; return this; }
        public String getInitials() { return initials; }
        public Data_Person setInitials(String value) { this.initials = value; return this; }
        public String getNameAbbreviation() { return nameAbbreviation; }
        public Data_Person setNameAbbreviation(String value) { this.nameAbbreviation = value; return this; }
        public String getTitle() { return title; }
        public Data_Person setTitle(String value) { this.title = value; return this; }
        public String getTitleBehindTheName() { return titleBehindTheName; }
        public Data_Person setTitleBehindTheName(String value) { this.titleBehindTheName = value; return this; }
        public String getPhoneNo() { return phoneNo; }
        public Data_Person setPhoneNo(String value) { this.phoneNo = value; return this; }
        public String getMobilePhoneNo() { return mobilePhoneNo; }
        public Data_Person setMobilePhoneNo(String value) { this.mobilePhoneNo = value; return this; }
        public String getEMail() { return eMail; }
        public Data_Person setEMail(String value) { this.eMail = value; return this; }
        public String getVisitAddress() { return visitAddress; }
        public Data_Person setVisitAddress(String value) { this.visitAddress = value; return this; }
        public String getVisitAddress2() { return visitAddress2; }
        public Data_Person setVisitAddress2(String value) { this.visitAddress2 = value; return this; }
        public String getVisitAddressPostCode() { return visitAddressPostCode; }
        public Data_Person setVisitAddressPostCode(String value) { this.visitAddressPostCode = value; return this; }
        public String getVisitAddressCity() { return visitAddressCity; }
        public Data_Person setVisitAddressCity(String value) { this.visitAddressCity = value; return this; }
        public String getVisitAddressCountryRegionId() { return visitAddressCountryRegionId; }
        public Data_Person setVisitAddressCountryRegionId(String value) { this.visitAddressCountryRegionId = value; return this; }
        public UUID getCompanyId() { return companyId; }
        public Data_Person setCompanyId(UUID value) { this.companyId = value; return this; }
        public Boolean isBlocked() { return blocked; }
        public Data_Person setBlocked(Boolean value) { this.blocked = value; return this; }
        public String getCocCity() { return cocCity; }
        public Data_Person setCocCity(String value) { this.cocCity = value; return this; }
    }

    public static class IDB_4PSBC_Response_Persoon
    {
        /**
        * Header of the response
        */
        @ApiMember(Description="Header of the response", IsRequired=true)
        public Header Header = null;

        /**
        * Response body
        */
        @ApiMember(Description="Response body", IsRequired=true)
        public Response_Person Response = null;
        
        public Header getHeader() { return Header; }
        public IDB_4PSBC_Response_Persoon setHeader(Header value) { this.Header = value; return this; }
        public Response_Person getResponse() { return Response; }
        public IDB_4PSBC_Response_Persoon setResponse(Response_Person value) { this.Response = value; return this; }
    }

    public static class Response_Person
    {
        /**
        * Reponse status (Ok/Error)
        */
        @ApiMember(Description="Reponse status (Ok/Error)", IsRequired=true)
        public String Status = null;

        /**
        * Errors summary
        */
        @ApiMember(Description="Errors summary")
        public String Errors = null;

        /**
        * ID of the person in DigiOffice
        */
        @ApiMember(Description="ID of the person in DigiOffice", IsRequired=true)
        public String DigiOfficePersoonID = null;

        /**
        * GlobalID (digiOfficeId) of the person in DigiOffice
        */
        @ApiMember(Description="GlobalID (digiOfficeId) of the person in DigiOffice", IsRequired=true)
        public UUID DigiOfficeGlobalID = null;
        
        public String getStatus() { return Status; }
        public Response_Person setStatus(String value) { this.Status = value; return this; }
        public String getErrors() { return Errors; }
        public Response_Person setErrors(String value) { this.Errors = value; return this; }
        public String getDigiOfficePersoonID() { return DigiOfficePersoonID; }
        public Response_Person setDigiOfficePersoonID(String value) { this.DigiOfficePersoonID = value; return this; }
        public UUID getDigiOfficeGlobalID() { return DigiOfficeGlobalID; }
        public Response_Person setDigiOfficeGlobalID(UUID value) { this.DigiOfficeGlobalID = value; return this; }
    }

}

Java IDB_4PSBC_Import_Persoon DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/4PSBC/ImportPersoon HTTP/1.1 
Host: dogw.klokgroep.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Header":{"Contains":"String","Date":"String","MessageID":"String","Sender":"String"},"Data":{"systemId":"00000000-0000-0000-0000-000000000000","digiOfficeId":"00000000-0000-0000-0000-000000000000","companyName4ps":"String","no":"String","firstName":"String","middleName":"String","surname":"String","gender":"String","initials":"String","nameAbbreviation":"String","title":"String","titleBehindTheName":"String","phoneNo":"String","mobilePhoneNo":"String","eMail":"String","visitAddress":"String","visitAddress2":"String","visitAddressPostCode":"String","visitAddressCity":"String","visitAddressCountryRegionId":"String","companyId":"00000000-0000-0000-0000-000000000000","blocked":false,"cocCity":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Header":{"Contains":"String","Date":"String","MessageID":"String","Sender":"String"},"Response":{"Status":"String","Errors":"String","DigiOfficePersoonID":"String","DigiOfficeGlobalID":"00000000-0000-0000-0000-000000000000"}}