SID:SampleRetrieveECKID

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

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/retrieveEckId"
Content-Length: 1082
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/retrieveEckId
     </wsa:Action>
     <wsa:From>
       <wsa:Address>
         http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567
       </wsa:Address>
     </wsa:From>
     <wsa:MessageID>uuid:692d9bd9-8a14-487d-9461-1606b57fbbe6</wsa:MessageID>
     <wsa:To>
       https://service.id.school/eck/ws/201703/
     </wsa:To>
   </soapenv:Header>
   <soapenv:Body>
      <v1:retrieveEckIdRequest>
         <v1:stampseudonym>
           https://id.school/sppilot/83f4980640a326a76d4aa0b66529759fb8642174677e2957ef252f23437a65533aaa0a4bbad22e461b727b69b6fb832c366227a64097637ca3481db00fb034f8
         </v1:stampseudonym>
         <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:retrieveEckIdRequest>
   </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/retrieveEckIdResponse
      </Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">
         urn:uuid:18137f40-e7af-4e07-9d7c-8787ac273e21
      </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:692d9bd9-8a14-487d-9461-1606b57fbbe6
      </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>
      <retrieveEckIdResponse xmlns="http://id.school/eck/schemas/v1_0">
         <eckId>
            https://id.school/pilot/7d5bc8a34baf86928eebdb739cd823f7f4682793a446ee11946aaa91097314cd609eb0cffd81265876b48896bb4614e0f047e78d1ab395066d1fde624902fb7e
         </eckId>
      </retrieveEckIdResponse>
   </soap:Body>
</soap:Envelope>