"use strict";
export class RegistrationProfileFieldValue {
/** @param {{DocumentFieldID?:string,Value?:string,ShadowValue?:string,IsModifiedByUser?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
DocumentFieldID;
/** @type {string} */
Value;
/** @type {string} */
ShadowValue;
/** @type {boolean} */
IsModifiedByUser;
}
export class GetRegistrationprofileFieldStates {
/** @param {{RegistrationprofileID?:string,DocumentID?:string,QueueDocumentID?:number,StandardDocumentID?:string,RequestTriggeredByDependentDocumentFieldIds?:string[],CurrentRegistrationprofileFieldValues?:RegistrationProfileFieldValue[],IsOffice365Context?:boolean,IsOpenedFromNonDMSLocation?:boolean,PidTag?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
RegistrationprofileID;
/** @type {?string} */
DocumentID;
/** @type {?number} */
QueueDocumentID;
/** @type {?string} */
StandardDocumentID;
/** @type {string[]} */
RequestTriggeredByDependentDocumentFieldIds;
/** @type {RegistrationProfileFieldValue[]} */
CurrentRegistrationprofileFieldValues;
/** @type {boolean} */
IsOffice365Context;
/** @type {?boolean} */
IsOpenedFromNonDMSLocation;
/** @type {string} */
PidTag;
}
export class GetMultiRegistrationProfileFieldStates {
/** @param {{MultiRegistrationProfileFieldStates?:GetRegistrationprofileFieldStates[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {GetRegistrationprofileFieldStates[]} */
MultiRegistrationProfileFieldStates;
}
JavaScript GetMultiRegistrationProfileFieldStates DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/GetMultiRegistrationProfileFieldStates HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"MultiRegistrationProfileFieldStates":[{"RegistrationprofileID":"00000000-0000-0000-0000-000000000000","DocumentID":"00000000-0000-0000-0000-000000000000","QueueDocumentID":0,"StandardDocumentID":"00000000-0000-0000-0000-000000000000","RequestTriggeredByDependentDocumentFieldIds":["00000000-0000-0000-0000-000000000000"],"CurrentRegistrationprofileFieldValues":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Value":"String","ShadowValue":"String","IsModifiedByUser":false}],"IsOffice365Context":false,"IsOpenedFromNonDMSLocation":false,"PidTag":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"DocumentUploadID":0,"ReadOnly":false,"Messages":[{}],"ControlStates":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Required":false,"Visible":false,"Readonly":false}]}]