digitaluapi

<back to all web services

PaymentConditionsAdd

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
POST/payment_conditions
"use strict";
export class PaymentConditionsAddResponse {
    /** @param {{TenantsId?:number,PaymentActionsId?:number,DebtsField?:string,Operator?:string,Parameter1?:string,Parameter2?:string,ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    TenantsId;
    /** @type {number} */
    PaymentActionsId;
    /** @type {string} */
    DebtsField;
    /** @type {string} */
    Operator;
    /** @type {string} */
    Parameter1;
    /** @type {string} */
    Parameter2;
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class PaymentConditionsAdd {
    /** @param {{TenantsId?:number,PaymentActionsId?:number,DebtsField?:string,Operator?:string,Parameter1?:string,Parameter2?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    TenantsId;
    /** @type {number} */
    PaymentActionsId;
    /** @type {string} */
    DebtsField;
    /** @type {string} */
    Operator;
    /** @type {string} */
    Parameter1;
    /** @type {string} */
    Parameter2;
}

JavaScript PaymentConditionsAdd DTOs

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

HTTP + OTHER

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

POST /payment_conditions HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"TenantsId":0,"PaymentActionsId":0,"DebtsField":"String","Operator":"String","Parameter1":"String","Parameter2":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"TenantsId":0,"PaymentActionsId":0,"DebtsField":"String","Operator":"String","Parameter1":"String","Parameter2":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}