| POST | /v1/forms/office/drafts/{SubmissionUID}/sign/{FieldKey}/link |
|---|
"use strict";
export class FormFillFieldError {
/** @param {{K?:string,Msg?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
K;
/** @type {string} */
Msg;
}
export class FormFillSaveResponse {
/** @param {{Saved?:boolean,Rev?:number,Errors?:FormFillFieldError[],ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
Saved;
/** @type {number} */
Rev;
/** @type {FormFillFieldError[]} */
Errors = [];
/** @type {ResponseStatus} */
ResponseStatus;
}
export class FormOfficeSignLinkRequest {
/** @param {{SubmissionUID?:string,FieldKey?:string,Rev?:number,ByLink?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
SubmissionUID;
/** @type {string} */
FieldKey;
/** @type {?number} */
Rev;
/** @type {boolean} */
ByLink;
}
JavaScript FormOfficeSignLinkRequest 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 /v1/forms/office/drafts/{SubmissionUID}/sign/{FieldKey}/link HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SubmissionUID":"00000000000000000000000000000000","FieldKey":"String","Rev":0,"ByLink":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Saved":false,"Rev":0,"Errors":[{"K":"String","Msg":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}