# MyDataMyConsent.Api.DigiLockerCompatIssuerApi
All URIs are relative to https://api.mydatamyconsent.com
Method | HTTP request | Description |
---|---|---|
DigilockerCompatIssueDocument | POST /issuer/issuedoc/1/xml | Digilocker Compatible endpoint to issue document. |
# DigilockerCompatIssueDocument
PushUriResponse DigilockerCompatIssueDocument (PushUriRequest pushUriRequest)
Digilocker Compatible endpoint to issue document.
# Example
using System.Collections.Generic;
using System.Diagnostics;
using MyDataMyConsent.Api;
using MyDataMyConsent.Client;
using MyDataMyConsent.Models;
namespace Example
{
public class DigilockerCompatIssueDocumentExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mydatamyconsent.com";
var apiInstance = new DigiLockerCompatIssuerApi(config);
var pushUriRequest = new PushUriRequest(); // PushUriRequest | Push URI request payload
try
{
// Digilocker Compatible endpoint to issue document.
PushUriResponse result = apiInstance.DigilockerCompatIssueDocument(pushUriRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling DigiLockerCompatIssuerApi.DigilockerCompatIssueDocument: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
pushUriRequest | PushUriRequest | Push URI request payload |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: application/xml
- Accept: application/xml
# HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
401 | Unauthorized | - |
500 | Server Error | - |
404 | Not Found | - |
0 | Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]