SID:SampleBatchECKID

Uit Kennisnet Developers Documentatie
Versie door Fleischeuers01 (overleg | bijdragen) op 1 jun 2017 om 12:57 (Nieuwe pagina aangemaakt met '==Request== <syntaxhighlight lang="xml"> POST https://service.id.school/eck/ws/201703/ HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 S...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
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: SampleBatchECKID

Request

POST https://service.id.school/eck/ws/201703/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://id.school/eck/schemas/v1_0/submitEckIdBatch"
Content-Length: 2006
Host: service.id.school
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://id.school/eck/schemas/v1_0">
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsa:Action>http://id.school/eck/schemas/v1_0/submitEckIdBatch</wsa:Action>
      <wsa:From>
        <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</wsa:Address>
      </wsa:From>
      <wsa:MessageID>uuid:e8df13ec-37ee-418c-b3a7-b86e2763e5de</wsa:MessageID>
      <wsa:To>https://service-t.id.school/eck/ws/201703/</wsa:To>
   </soapenv:Header>
   <soapenv:Body>
      <v1:submitEckIdBatchRequest>
         <!--1 or more repetitions:-->
         <v1:stampseudonymList>
            <v1:index>1</v1:index>
            <v1:stampseudonym>https://id.school/sppilot/11b7285596590e3448c18407db59139c59689b19835a9fa82410800f8e221ed1e478e9dcfd00897dcd689ede17cb6a6ae8a6a069383ac8eea3d951a05a802e12f</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>2</v1:index>
            <v1:stampseudonym>foutpseudoniem</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>4</v1:index>
            <v1:stampseudonym>https://id.school/sppilot/x7fdcb0610fd7bd59a9c515e618838ebfa8ec5bbdfe7a5173dd45449e2697544d748e36ca163f549924727b5d596b45a90739ba3753f6539511ff8a1e3d0b71f</v1:stampseudonym>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
            <v1:index>8</v1:index>
            <v1:stampseudonym>https://id.school/sppilot/6f7f47bc0f5b1c4247a2c630195eab85318004de74b6d831e0d0aa45aeb2de12e469e9864664a0ce385ac6bc9d805343b5afd554f1d8b2f10d3ec20fb1d62dc9</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/2a1401e9-c223-493b-9b86-78f6993b1a8d</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://id.school/eck/schemas/v1_0/SchoolID/submitEckIdBatchResponse</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:4cd8e96d-3a89-4dd0-ad97-5a9d098a43a0</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">uuid:e8df13ec-37ee-418c-b3a7-b86e2763e5de</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://id.school/eck/schemas/v1_0">
         <batchIdentifier>2017060112552627cb1432728b4f6489b4dbc5c18a4e09</batchIdentifier>
      </submitBatchResponse>
   </soap:Body>
</soap:Envelope>