| POST | /api/customerMaster/credit | Add new customer master |
|---|
"use strict";
export class UpdateCustomerCredit {
/** @param {{ownerGln?:string,customerGln?:string,currency?:string,creditLimit?:number,creditBalance?:number,creditAvailable?:number,dateTime?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ownerGln;
/** @type {string} */
customerGln;
/** @type {string} */
currency;
/** @type {number} */
creditLimit;
/** @type {number} */
creditBalance;
/** @type {number} */
creditAvailable;
/** @type {string} */
dateTime;
}
JavaScript UpdateCustomerCredit DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/customerMaster/credit HTTP/1.1
Host: stf-api-uat.data-xchange.co.za
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ownerGln":"String","customerGln":"String","currency":"String","creditLimit":0,"creditBalance":0,"creditAvailable":0}