DigiOffice API Services Services

<back to all web services

GetRetrieveDocNr

Requires Authentication
"use strict";
export class GetRetrieveDocNr {
    /** @param {{DocumentId?:string,EmailMessageId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    DocumentId;
    /** @type {string} */
    EmailMessageId;
}
export class GetRetrieveDocNrResponse {
    /** @param {{DocumentNr?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    DocumentNr;
}

JavaScript GetRetrieveDocNr DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetRetrieveDocNr HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"DocumentId":"00000000-0000-0000-0000-000000000000","EmailMessageId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DocumentNr":"String"}