PUT api/cogeo/localisant/{idLocalisant}
Met à jour un localisant en fonction de son identifiant unique.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idLocalisant | integer |
Required |
Body Parameters
ApiIncomingLocalisantName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SystemeProjection | SystemesProjection |
None. |
|
X | decimal number |
None. |
|
Y | decimal number |
None. |
|
ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "SystemeProjection": 0, "X": 1.0, "Y": 1.0, "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingLocalisant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoCommunServeur.Business.Api.Incoming"> <ProprietesModifiees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProprietesModifiees> <Id>1</Id> <SystemeProjection>SP_WGS84</SystemeProjection> <X>1</X> <Y>1</Y> </ApiIncomingLocalisant>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SystemeProjection" SP_WGS84 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="X" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Y" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[0]" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[1]" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
OkResultName | Description | Type | Additional information |
---|---|---|---|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.