SID:SampleRetrieveBatchStempseudonym

Uit Kennisnet Developers Documentatie
Versie door Fleischeuers01 (overleg | bijdragen) op 1 jun 2017 om 12:49 (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

Nummervoorziening-symbol.png Nummervoorziening: SampleRetrieveBatchStempseudonym

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/submitStampseudonymBatch"
Content-Length: 3327
Host: servic.eid.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/submitStampseudonymBatch</wsa:Action>
        <wsa:From>
            <wsa:Address>
                http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567
            </wsa:Address>
        </wsa:From>
        <wsa:MessageID>uuid:b5231b6a-7eba-4bd9-9a83-42b393c4963c</wsa:MessageID>
        <wsa:To>https://service.id.school/eck/ws/201703/</wsa:To>
    </soapenv:Header>
    <soapenv:Body>
      <v1:submitStampseudonymBatchRequest>
         <!--1 or more repetitions:-->
         <v1:hpgnList>
            <v1:index>1</v1:index>
            <v1:hPgn>afa4c1c6d8df86b3d41848b81becb2630b611bc7eb99ed98473b7628e2d848f83</v1:hPgn>
        </v1:hpgnList>
        <v1:hpgnList>
            <v1:index>3</v1:index>
            <v1:hPgn>x789e4a591ccbde784f7b390e6edd6a16f42b77996de5a31c7e27b8358d44720</v1:hPgn>
        </v1:hpgnList>
        <v1:hpgnList>
            <v1:index>5</v1:index>
            <v1:hPgn>38c238660fdbfc405f4bed067ab0404e594c49d858419adc2136e5f5afb7edb</v1:hPgn>
        </v1:hpgnList>
    </v1:submitStampseudonymBatchRequest>
    </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/submitStampseudonymBatchResponse
      </Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">
         urn:uuid:5b128845-0563-4c39-9c88-0b96c842483e
      </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:b5231b6a-7eba-4bd9-9a83-42b393c4963c
      </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>201706010833593f213288901043daa0beb6576d0345f5</batchIdentifier>
      </submitBatchResponse>
   </soap:Body>
</soap:Envelope>