"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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetMultiRegistrationProfileFieldStates HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MultiRegistrationProfileFieldStates:
[
{
DocumentID: 00000000-0000-0000-0000-000000000000,
QueueDocumentID: 0,
StandardDocumentID: 00000000-0000-0000-0000-000000000000,
RequestTriggeredByDependentDocumentFieldIds:
[
00000000-0000-0000-0000-000000000000
],
CurrentRegistrationprofileFieldValues:
[
{
Value: String,
ShadowValue: String,
IsModifiedByUser: False
}
],
IsOffice365Context: False,
IsOpenedFromNonDMSLocation: False,
PidTag: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
DocumentUploadID: 0,
ReadOnly: False,
Messages:
[
{
}
],
ControlStates:
[
{
Required: False,
Visible: False,
Readonly: False
}
]
}
]