# 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
open class func digilockerCompatIssueDocument(pushUriRequest: PushUriRequest, completion: @escaping (_ data: PushUriResponse?, _ error: Error?) -> Void)
1
Digilocker Compatible endpoint to issue document.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let pushUriRequest = PushUriRequest(uriDetails: UriDetails(aadhaar: "aadhaar_example", uri: "uri_example", docType: "docType_example", docName: "docName_example", docId: "docId_example", issuedOn: "issuedOn_example", validFrom: "validFrom_example", validTo: "validTo_example", timestamp: "timestamp_example", action: "action_example"), ns2: "ns2_example", ver: "ver_example", ts: "ts_example", txn: "txn_example", orgId: "orgId_example", keyhash: "keyhash_example") // PushUriRequest | Push URI request payload
// Digilocker Compatible endpoint to issue document.
DigiLockerCompatIssuerAPI.digilockerCompatIssueDocument(pushUriRequest: pushUriRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
[Back to top] [Back to API list] [Back to Model list] [Back to README]