POST api/GenereCodebarreFacMatrix2D

Reçoit un string pour generer un code barre

Request Information

URI Parameters

None.

Body Parameters

Objet de transformation

CodeBarre
NameDescriptionTypeAdditional information
date_fact

string

None.

facture

string

None.

client

string

None.

typecode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "date_fact": "sample string 1",
  "facture": "sample string 2",
  "client": "sample string 3",
  "typecode": "sample string 4"
}

application/xml, text/xml

Sample:
<CodeBarre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <client>sample string 3</client>
  <date_fact>sample string 1</date_fact>
  <facture>sample string 2</facture>
  <typecode>sample string 4</typecode>
</CodeBarre>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CodeBarre'.

Response Information

Resource Description

Transformation OK ou NOK

JSonGenericOfString
NameDescriptionTypeAdditional information
Response

string

None.

Datas

string

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": "sample string 1",
  "Datas": "sample string 2",
  "ServiceName": "sample string 3",
  "Parameters": "sample string 4",
  "Status": 0,
  "ErrorMessage": "sample string 5",
  "Error": {
    "Code": "sample string 1",
    "Details": "sample string 2",
    "Message": "sample string 3",
    "Level": 1
  }
}

application/xml, text/xml

Sample:
<JSonGenericOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
  <Error>
    <Code>sample string 1</Code>
    <Details>sample string 2</Details>
    <Level>Info</Level>
    <Message>sample string 3</Message>
  </Error>
  <ErrorMessage>sample string 5</ErrorMessage>
  <Parameters>sample string 4</Parameters>
  <ServiceName>sample string 3</ServiceName>
  <Status>Error</Status>
  <Datas>sample string 2</Datas>
  <Response>sample string 1</Response>
</JSonGenericOfstring>