SID:SampleRetrieveBatch

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

 1POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
 2Accept-Encoding: gzip,deflate
 3Content-Type: text/xml;charset=UTF-8
 4SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveBatch"
 5Content-Length: 1008
 6Host: service-s.ketenid.nl
 7Connection: Keep-Alive
 8User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
 9
10<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
11xmlns: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

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <Action xmlns="http://www.w3.org/2005/08/addressing">http://id.school/eck/schemas/v1_0/SchoolID/retrieveBatchResponse</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a281bd18-c241-426b-9dfe-3cbc3127b60b</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>
      <retrieveBatchResponse xmlns="http://id.school/eck/schemas/v1_0">
         <success>
            <index>8</index>
            <value>https://id.school/pilot/d9077719252c8046d0936b07025aed696753dbf3d57ad427bae81daf6cc7bfc930f523570a541472d1ab03fa349551df7ff65e32af57aa95bf36a24ec6065fb6</value>
         </success>
         <failed>
            <index>1</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
         <failed>
            <index>2</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
         <failed>
            <index>4</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
      </retrieveBatchResponse>
   </soap:Body>
</soap:Envelope>