GET api/v1/ledningspakke/{id}?requestId={requestId}&transactionId={transactionId}&tjenesteaftagerCvr={tjenesteaftagerCvr}&isSamfoeringsforespoergsel={isSamfoeringsforespoergsel}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
requestId | globally unique identifier |
Required |
|
transactionId | globally unique identifier |
Required |
|
tjenesteaftagerCvr | string |
None. |
|
isSamfoeringsforespoergsel | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ServiceResponseOfHentLedningspakkeResponseName | Description | Type | Additional information |
---|---|---|---|
Data | HentLedningspakkeResponse |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
RequestId | globally unique identifier |
None. |
|
TransactionId | globally unique identifier |
None. |
|
Forretningskvittering | ServiceResponseForretningsKvittering |
None. |
|
Transportkvittering | ServiceResponseTransportKvittering |
None. |
|
Error | ServiceResponseError |
None. |
|
SendTimestamp | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "base64data": "sample string 1", "contenttype": "sample string 2", "fileName": "sample string 3" }, "StatusCode": 100, "RequestId": "15b8ef4f-3c5f-406d-b027-0a20ea6e87d3", "TransactionId": "32277e52-a067-4437-a856-36939215ca93", "Forretningskvittering": { "Sender": "sample string 1", "Recipient": "sample string 2", "Status": "Modtaget" }, "Transportkvittering": { "Sender": "sample string 1", "Recipient": "sample string 2", "Status": "Modtaget" }, "Error": null, "SendTimestamp": "2024-09-20T12:54:18.9285932+02:00" }
application/xml, text/xml
Sample:
<ServiceResponseOfHentLedningspakkeResponseYfsNoDtd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBST.LER.Services.Interfaces.Response"> <Error i:nil="true" /> <Forretningskvittering> <Recipient>sample string 2</Recipient> <Sender>sample string 1</Sender> <Status>Modtaget</Status> </Forretningskvittering> <RequestId>15b8ef4f-3c5f-406d-b027-0a20ea6e87d3</RequestId> <SendTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-09-20T10:54:18.9285932Z</d2p1:DateTime> <d2p1:OffsetMinutes>120</d2p1:OffsetMinutes> </SendTimestamp> <StatusCode>Continue</StatusCode> <TransactionId>32277e52-a067-4437-a856-36939215ca93</TransactionId> <Transportkvittering> <Recipient>sample string 2</Recipient> <Sender>sample string 1</Sender> <Status>Modtaget</Status> </Transportkvittering> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBST.LER.Services.Interfaces.Ledningspakke.v1"> <d2p1:base64data>sample string 1</d2p1:base64data> <d2p1:contenttype>sample string 2</d2p1:contenttype> <d2p1:fileName>sample string 3</d2p1:fileName> </Data> </ServiceResponseOfHentLedningspakkeResponseYfsNoDtd>