POST kohdetiedot/kohteet/{id}/update

!!!Vain sisäiseen käyttöön!!! Päivittää kohteen tietoja metatietojen perusteella.


Request Information

URI Parameters

NameDescriptionTypeAdditional information
id Kohteen id. integer Required

Body Parameters

Päivitettävät tiedot. Collection of ApiTallennettavaKenttatietoRequest
NameDescriptionTypeAdditional information
Metanimi Tallennettavan parametrin metanimi. string String length: inclusive between 0 and 100
PtypeId Tallennettavan parametrin ptypeid. integer None.
Arvo Tallennettava arvo. string None.

Request Formats

application/json, text/json
Sample:
[
  {
    "Metanimi": "sample string 1",
    "PtypeId": 1,
    "Arvo": "sample string 2"
  },
  {
    "Metanimi": "sample string 1",
    "PtypeId": 1,
    "Arvo": "sample string 2"
  }
]
application/xml, text/xml
Sample:
<ArrayOfApiTallennettavaKenttatietoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceApi.Contract.Kohderekisteri">
  <ApiTallennettavaKenttatietoRequest>
    <Arvo>sample string 2</Arvo>
    <Metanimi>sample string 1</Metanimi>
    <PtypeId>1</PtypeId>
  </ApiTallennettavaKenttatietoRequest>
  <ApiTallennettavaKenttatietoRequest>
    <Arvo>sample string 2</Arvo>
    <Metanimi>sample string 1</Metanimi>
    <PtypeId>1</PtypeId>
  </ApiTallennettavaKenttatietoRequest>
</ArrayOfApiTallennettavaKenttatietoRequest>
application/x-www-form-urlencoded
Sample:

Sample not available.


Response Information

Resource Description


HttpResponseMessage
NameDescriptionTypeAdditional information
Version Version None.
Content HttpContent None.
StatusCode HttpStatusCode None.
ReasonPhrase string None.
Headers Collection of Object None.
RequestMessage HttpRequestMessage None.
IsSuccessStatusCode boolean None.