SID:SampleRetrieveBatch

Uit Kennisnet Developers Documentatie
Versie door Tedjakusuma01 (overleg | bijdragen) op 12 feb 2018 om 13:06 (Wijzigingen n.a.v. laatste release)
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

Nummervoorziening-symbol.png Nummervoorziening: SampleRetrieveBatch

Request

This request retrieves the results of "Batch creation of ECK iD request". The result of the erroneous stampseudonyms are highlighted in the response.

 1 POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
 2 Accept-Encoding: gzip,deflate
 3 Content-Type: text/xml;charset=UTF-8
 4 SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveBatch"
 5 Content-Length: 1008
 6 Host: service-s.ketenid.nl
 7 Connection: Keep-Alive
 8 User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
 9 
10 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
11 xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
12    <soapenv:Header>
13    <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveBatch</a:Action>
14       <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
15       <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To>
16       <a:From a:IsReferenceParameter="true">
17          <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
18       </a:From>
19       <a:ReplyTo a:IsReferenceParameter="true">
20          <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
21       </a:ReplyTo>
22    </soapenv:Header>
23    <soapenv:Body>
24       <v1:retrieveBatchRequest>
25          <v1:batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</v1:batchIdentifier>
26       </v1:retrieveBatchRequest>
27    </soapenv:Body>
28 </soapenv:Envelope>

Response

 1 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 2    <soap:Header>
 3       <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/retrieveBatchResponse</Action>
 4       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:cb5b6835-5cff-4d6e-9814-75233bd05ca9</MessageID>
 5       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
 6       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
 7       <From xmlns="http://www.w3.org/2005/08/addressing">
 8          <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
 9       </From>
10    </soap:Header>
11    <soap:Body>
12       <retrieveBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
13          <success>
14             <index>1</index>
15             <value>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</value>
16          </success>
17          <success>
18             <index>4</index>
19             <value>https://ketenid.nl/pilot/1499a726d94b83f3d9a2cf6b0587d0b65853b5e1ffaf5aae2e092630ab228f67bc14ebe5cb125656f7b97c547995a077a0b0f9901d2896bf3635461d38ec169b</value>
20          </success>
21          <failed>
22             <index>2</index>
23             <errorMessage>Genereren niet succesvol</errorMessage>
24          </failed>
25          <failed>
26             <index>3</index>
27             <errorMessage>Genereren niet succesvol</errorMessage>
28          </failed>
29       </retrieveBatchResponse>
30    </soap:Body>
31 </soap:Envelope>