| GET | /document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument} | facture / commande | |
|---|---|---|---|
| GET | /document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdGroupe}/{IdSociete}/{Year}/{Month} | r99 : relevé mensuel de factures |
"use strict";
/** @typedef {'facture'|'commande'|'r98'|'r99'|'balance'} */
export var eapi_document_type_enum;
(function (eapi_document_type_enum) {
eapi_document_type_enum["facture"] = "facture"
eapi_document_type_enum["commande"] = "commande"
eapi_document_type_enum["r98"] = "r98"
eapi_document_type_enum["r99"] = "r99"
eapi_document_type_enum["balance"] = "balance"
})(eapi_document_type_enum || (eapi_document_type_enum = {}));
export class document {
/** @param {{documentType?:eapi_document_type_enum,idEntrepot?:number,idGroupe?:number,idSociete?:number,idDocument?:number,year?:number,month?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {eapi_document_type_enum}
* @description document type */
documentType;
/**
* @type {number}
* @description n° entrepot */
idEntrepot;
/**
* @type {number}
* @description n° groupe */
idGroupe;
/**
* @type {number}
* @description n° client */
idSociete;
/**
* @type {number}
* @description n° document */
idDocument;
/**
* @type {number}
* @description année */
year;
/**
* @type {number}
* @description mois */
month;
}
export class document_forced {
/** @param {{basicAuth?:string,mimeType?:string,documentType?:eapi_document_type_enum,idEntrepot?:number,idGroupe?:number,idSociete?:number,idDocument?:number,year?:number,month?:number,document?:document}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Basic Auth */
basicAuth;
/**
* @type {string}
* @description mime-type */
mimeType;
/**
* @type {eapi_document_type_enum}
* @description document type */
documentType;
/**
* @type {number}
* @description n° entrepot */
idEntrepot;
/**
* @type {number}
* @description n° groupe */
idGroupe;
/**
* @type {number}
* @description n° client */
idSociete;
/**
* @type {number}
* @description n° document */
idDocument;
/**
* @type {number}
* @description année */
year;
/**
* @type {number}
* @description mois */
month;
/** @type {document} */
document;
}
JavaScript document_forced DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument} HTTP/1.1
Host: milliet.io
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}