WS-RESTRICTED_API Host [RESTRICTED_API] : D5290-staging

<back to all web services

document_forced

Document

Service de création de documents (OLD SCHOOL)

The following routes are available for this service:
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
document_forced Parameters:
NameParameterData TypeRequiredDescription
BasicAuthpathstringYesBasic Auth
MimeTypepathstringYesmime-type
DocumentTypepathstringYesdocument type
IdEntrepotpathintegerYesn° entrepot
IdGroupepathintegerYesn° groupe
IdSocietepathintegerYesn° client
IdDocumentpathintegerYesn° document
YearpathintegerYesannée
MonthpathintegerYesmois
documentquerydocumentNo
eapi_document_type_enum Enum:
facture
commande
r98
r99
balance
document Parameters:
NameParameterData TypeRequiredDescription
DocumentTypepathstringYesdocument type
IdEntrepotpathintegerYesn° entrepot
IdGroupepathintegerYesn° groupe
IdSocietepathintegerYesn° client
IdDocumentpathintegerYesn° document
YearpathintegerYesannée
MonthpathintegerYesmois

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

HTTP + JSON

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

{}