POST api/listvalue/{valueListName}

Edition ou création du contenu d'une liste de valeurs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
valueListName

VALUES : representant - pays - titre - emplacement - apporteur - articleallee - chefvente - clt_groupe - clt_statut - conditionnement - evenementmotifclient - evenementtypeclient - frs_transporteur - investdetail - investtype - juridiqueaction - juridiquehisto - nc_cause_detail - service - servicefour - typecondit

string

Required

Body Parameters

ValueList
NameDescriptionTypeAdditional information
code

string

None.

nom

string

None.

abrege

string

None.

ordre

string

None.

origine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "nom": "sample string 2",
  "abrege": "sample string 3",
  "ordre": "sample string 4",
  "origine": "sample string 5"
}

application/xml, text/xml

Sample:
<ValueList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <abrege>sample string 3</abrege>
  <code>sample string 1</code>
  <nom>sample string 2</nom>
  <ordre>sample string 4</ordre>
  <origine>sample string 5</origine>
</ValueList>

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 'ValueList'.

Response Information

Resource Description

JSonGenericOfBoolean
NameDescriptionTypeAdditional information
Response

boolean

None.

Datas

boolean

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Datas": true,
  "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:
<JSonGenericOfboolean 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>true</Datas>
  <Response>true</Response>
</JSonGenericOfboolean>