905.3 Request metadata eksempel

Serviceaftager angiver RequestUserMetadata.RequestUserTypeIdentifier = 1 (Citizen) og RequestUserMetadata.UserIdentifier skal være borgerens CPR ved SelfBooked = true for CreateBooking. Fejl: ¤XX1 - "When SelfBooked is true, UserIdentifier has to be citizen's CPR and UserType has to be 1 - Citizen".

For en booking med metadata:

<headers>
<ActiveOrganisationHeaderType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrganisationTypeIdentifier xmlns="http://rep.oio.dk/ams.dk/xml/schemas/2005/09/01/">2</OrganisationTypeIdentifier>
<OrganisationCode xmlns="http://rep.oio.dk/ams.dk/xml/schemas/2005/09/01/">81</OrganisationCode>
</ActiveOrganisationHeaderType>
<RequestUserMetadataType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RequestUserStructure xmlns="http://service.bm.dk/pjaktass/2015/01/21/RequestUserStructure/">
<UserFullName>Kim Jørgensen</UserFullName>
<RequestUserTypeIdentifier xmlns="http://service.bm.dk/pjaktass/2015/01/21/RequestUserTypeIdentifierCodeList/">
<CodeListItemIdentifier xmlns="http://service.bm.dk/pjaktass/2013/06/07/CodeListBase/">1</CodeListItemIdentifier>
</RequestUserTypeIdentifier>
<UserIdentifier>1111112222</UserIdentifier>
</RequestUserStructure>
<RequestOrganisationStructure xmlns="http://service.bm.dk/pjaktass/2015/01/21/RequestOrganisationStructure/">
<OrganisationTypeIdentifier>
<CodeListItemIdentifier xmlns="http://service.bm.dk/pjaktass/2013/06/07/CodeListBase/">2</CodeListItemIdentifier>
</OrganisationTypeIdentifier>
<OrganisationCode>81</OrganisationCode>
</RequestOrganisationStructure>
<RegistrationDateTime xmlns="http://service.bm.dk/RequestUserMetadata/2015/01/21/">2019-04-30T15:06:58.9218786+02:00</RegistrationDateTime>
</RequestUserMetadataType>
</headers>

- vil vi i databasen kunne se række 2 nedenfor:

CPRSupervisorGivenNameSupervisorSurnameSupervisorIdentifierIsSelfBookedAuthorityTypeIdAuthorityCodeActiveAuthorityTypeIdActiveAuthorityCodeRequestUserIDRequestUserTypeIDRequestUserFullnameRequestUserEmail
101540022Visma - Kim JørgensenVisma - Kim JørgensenCVR:55568510-RID:91000000001730281281CVR:55568510-RID:91000000001732Visma - Kim JørgensenNULL
101540022Visma - Kim JørgensenVisma - Kim JørgensenCVR:55568510-RID:9100000000173128128111111122221Kim JørgensenNULL