SID:SampleBatchECKID

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen

Nummervoorziening-symbol.png Nummervoorziening: SampleBatchECKID

Request

POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/submitEckIdBatch"
Content-Length: 2257
Host: service-s.ketenid.nl
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
   <soapenv:Header>
      <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/submitEckIdBatch</a:Action><a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
      <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/service/201703</a:To>
      <a:From a:IsReferenceParameter="true">
         <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
      </a:From>
      <a:ReplyTo a:IsReferenceParameter="true">
         <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
      </a:ReplyTo></soapenv:Header>
   <soapenv:Body>
      <v1:submitEckIdBatchRequest>
         <!--1 or more repetitions:-->
         <v1:stampseudonymList>
            <v1:index>1</v1:index>
            <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>2</v1:index>
            <v1:stampseudonym>wrongpseudonym</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>3</v1:index>
            <v1:stampseudonym>https://ketenid.nl/sppilot/5d948c8f89446126d6ab9adc3c68664382daf09befb8bd6cc98f909641cdcc341bbd1858cf513f67e9d8b4e82b4b4b4c2961da173916149b6b7a66694c1d</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>4</v1:index>
            <v1:stampseudonym>https://ketenid.nl/sppilot/75fff83ca4d30ae5d8a15e98292206b2b3ba9443ab14b3e8aba1fd2d7800d05afcb7cf11acfed32097b5714080133d53e68123f97efa952b3e3c1a353a5755b5</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
         <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
      </v1:submitEckIdBatchRequest>
   </soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/submitEckIdBatchResponse</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:e9fc4552-ccaf-4c50-a27d-1b962adf0bc8</MessageID>
      <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
      <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
      <From xmlns="http://www.w3.org/2005/08/addressing">
         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
      </From>
   </soap:Header>
   <soap:Body>
      <submitBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</batchIdentifier>
      </submitBatchResponse>
   </soap:Body>
</soap:Envelope>