SID:SampleBatchECKID

Uit Kennisnet Developers Documentatie
Versie door Tedjakusuma01 (overleg | bijdragen) op 12 feb 2018 om 11:58 (Wijzigingen n.a.v. laatste release)
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

Nummervoorziening-symbol.png Nummervoorziening: SampleBatchECKID

Request

 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/submitEckIdBatch"
 5Content-Length: 2257
 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/" xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
11   <soapenv:Header>
12      <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>
13      <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/service/201703</a:To>
14      <a:From a:IsReferenceParameter="true">
15         <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
16      </a:From>
17      <a:ReplyTo a:IsReferenceParameter="true">
18         <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
19      </a:ReplyTo></soapenv:Header>
20   <soapenv:Body>
21      <v1:submitEckIdBatchRequest>
22         <!--1 or more repetitions:-->
23         <v1:stampseudonymList>
24            <v1:index>1</v1:index>
25            <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
26         </v1:stampseudonymList>
27         <v1:stampseudonymList>
28            <v1:index>2</v1:index>
29            <v1:stampseudonym>wrongpseudonym</v1:stampseudonym>
30         </v1:stampseudonymList>
31         <v1:stampseudonymList>
32            <v1:index>3</v1:index>
33            <v1:stampseudonym>https://ketenid.nl/sppilot/5d948c8f89446126d6ab9adc3c68664382daf09befb8bd6cc98f909641cdcc341bbd1858cf513f67e9d8b4e82b4b4b4c2961da173916149b6b7a66694c1d</v1:stampseudonym>
34         </v1:stampseudonymList>
35         <v1:stampseudonymList>
36            <v1:index>4</v1:index>
37            <v1:stampseudonym>https://ketenid.nl/sppilot/75fff83ca4d30ae5d8a15e98292206b2b3ba9443ab14b3e8aba1fd2d7800d05afcb7cf11acfed32097b5714080133d53e68123f97efa952b3e3c1a353a5755b5</v1:stampseudonym>
38         </v1:stampseudonymList>
39         <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
40         <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
41      </v1:submitEckIdBatchRequest>
42   </soapenv:Body>
43</soapenv:Envelope>

Response

 1<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 2   <soap:Header>
 3      <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/submitEckIdBatchResponse</Action>
 4      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:e9fc4552-ccaf-4c50-a27d-1b962adf0bc8</MessageID>
 5      <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
 6      <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
 7      <From xmlns="http://www.w3.org/2005/08/addressing">
 8         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
 9      </From>
10   </soap:Header>
11   <soap:Body>
12      <submitBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
13         <batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</batchIdentifier>
14      </submitBatchResponse>
15   </soap:Body>
16</soap:Envelope>