PUT api/Localisation/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DIC_LOCALISATION_Model
NameDescriptionTypeAdditional information
ID_LOCALISATION

integer

None.

LOCALISATION

string

None.

LOCALISATION_CODE

string

None.

PROVINCE_ID

integer

None.

VILLE_CODE

string

None.

COMMUNE_CODE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID_LOCALISATION": 1,
  "LOCALISATION": "sample string 2",
  "LOCALISATION_CODE": "sample string 3",
  "PROVINCE_ID": 1,
  "VILLE_CODE": "sample string 4",
  "COMMUNE_CODE": "sample string 5"
}

application/xml, text/xml

Sample:
<DIC_LOCALISATION_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_REDDI.Models">
  <COMMUNE_CODE>sample string 5</COMMUNE_CODE>
  <ID_LOCALISATION>1</ID_LOCALISATION>
  <LOCALISATION>sample string 2</LOCALISATION>
  <LOCALISATION_CODE>sample string 3</LOCALISATION_CODE>
  <PROVINCE_ID>1</PROVINCE_ID>
  <VILLE_CODE>sample string 4</VILLE_CODE>
</DIC_LOCALISATION_Model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.