SID:SampleBatchECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
(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...')
 
(Wijzigingen n.a.v. laatste release)
Regel 1: Regel 1:
==Request==
==Request==
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml" line highlight="29,33">
POST https://service.id.school/eck/ws/201703/ HTTP/1.1
POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
Accept-Encoding: gzip,deflate
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://id.school/eck/schemas/v1_0/submitEckIdBatch"
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/submitEckIdBatch"
Content-Length: 2006
Content-Length: 2257
Host: service.id.school
Host: service-s.ketenid.nl
Connection: Keep-Alive
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
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: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 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soapenv:Header>
       <wsa:Action>http://id.school/eck/schemas/v1_0/submitEckIdBatch</wsa:Action>
       <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>
       <wsa:From>
       <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/service/201703</a:To>
        <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</wsa:Address>
      <a:From a:IsReferenceParameter="true">
       </wsa:From>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
       <wsa:MessageID>uuid:e8df13ec-37ee-418c-b3a7-b86e2763e5de</wsa:MessageID>
       </a:From>
      <wsa:To>https://service-t.id.school/eck/ws/201703/</wsa:To>
       <a:ReplyTo a:IsReferenceParameter="true">
  </soapenv:Header>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
      </a:ReplyTo></soapenv:Header>
   <soapenv:Body>
   <soapenv:Body>
       <v1:submitEckIdBatchRequest>
       <v1:submitEckIdBatchRequest>
Regel 24: Regel 25:
         <v1:stampseudonymList>
         <v1:stampseudonymList>
             <v1:index>1</v1:index>
             <v1:index>1</v1:index>
             <v1:stampseudonym>https://id.school/sppilot/11b7285596590e3448c18407db59139c59689b19835a9fa82410800f8e221ed1e478e9dcfd00897dcd689ede17cb6a6ae8a6a069383ac8eea3d951a05a802e12f</v1:stampseudonym>
             <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
         </v1:stampseudonymList>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
         <v1:stampseudonymList>
             <v1:index>2</v1:index>
             <v1:index>2</v1:index>
             <v1:stampseudonym>foutpseudoniem</v1:stampseudonym>
             <v1:stampseudonym>wrongpseudonym</v1:stampseudonym>
         </v1:stampseudonymList>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
         <v1:stampseudonymList>
             <v1:index>4</v1:index>
             <v1:index>3</v1:index>
             <v1:stampseudonym>https://id.school/sppilot/x7fdcb0610fd7bd59a9c515e618838ebfa8ec5bbdfe7a5173dd45449e2697544d748e36ca163f549924727b5d596b45a90739ba3753f6539511ff8a1e3d0b71f</v1:stampseudonym>
             <v1:stampseudonym>https://ketenid.nl/sppilot/5d948c8f89446126d6ab9adc3c68664382daf09befb8bd6cc98f909641cdcc341bbd1858cf513f67e9d8b4e82b4b4b4c2961da173916149b6b7a66694c1d</v1:stampseudonym>
         </v1:stampseudonymList>
         </v1:stampseudonymList>
         <v1:stampseudonymList>
         <v1:stampseudonymList>
             <v1:index>8</v1:index>
             <v1:index>4</v1:index>
             <v1:stampseudonym>https://id.school/sppilot/6f7f47bc0f5b1c4247a2c630195eab85318004de74b6d831e0d0aa45aeb2de12e469e9864664a0ce385ac6bc9d805343b5afd554f1d8b2f10d3ec20fb1d62dc9</v1:stampseudonym>
             <v1:stampseudonym>https://ketenid.nl/sppilot/75fff83ca4d30ae5d8a15e98292206b2b3ba9443ab14b3e8aba1fd2d7800d05afcb7cf11acfed32097b5714080133d53e68123f97efa952b3e3c1a353a5755b5</v1:stampseudonym>
         </v1:stampseudonymList>
         </v1:stampseudonymList>
         <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
         <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:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
       </v1:submitEckIdBatchRequest>
       </v1:submitEckIdBatchRequest>
   </soapenv:Body>
   </soapenv:Body>

Versie van 12 feb 2018 12:56

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://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>