PUT api/Country/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

Country
NameDescriptionTypeAdditional information
EntityKey

string

None.

EntityDisplayName

string

None.

RowVersion

Collection of byte

None.

CreationDate

date

None.

CreationUser

string

None.

LastWriteDate

date

None.

LastWriteUser

string

None.

Id

globally unique identifier

None.

Code

string

None.

Name

string

None.

Language

string

None.

Currency

string

None.

Decimal

integer

None.

EntityState

CodeFluentEntityState

None.

Request Formats

application/json, text/json

Sample:
{
  "RowVersion": "QEA=",
  "CreationDate": "2019-08-18T15:40:42.8578298+02:00",
  "CreationUser": "sample string 4",
  "LastWriteDate": "2019-08-18T15:40:42.8578298+02:00",
  "LastWriteUser": "sample string 6",
  "Id": "254fcaeb-fffb-47bc-9af7-4e33ef9f99b0",
  "Code": "sample string 8",
  "Name": "sample string 9",
  "Language": "sample string 10",
  "Currency": "sample string 11",
  "Decimal": 12
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Erpeo.Store.Entities">
  <_code>sample string 8</_code>
  <_creationDate>2019-08-18T15:40:42.8578298+02:00</_creationDate>
  <_creationUser>sample string 4</_creationUser>
  <_currency>sample string 11</_currency>
  <_decimal>12</_decimal>
  <_entityState>Created</_entityState>
  <_id>254fcaeb-fffb-47bc-9af7-4e33ef9f99b0</_id>
  <_language>sample string 10</_language>
  <_lastWriteDate>2019-08-18T15:40:42.8578298+02:00</_lastWriteDate>
  <_lastWriteUser>sample string 6</_lastWriteUser>
  <_name>sample string 9</_name>
  <_raisePropertyChangedEvents>true</_raisePropertyChangedEvents>
  <_rowVersion>QEA=</_rowVersion>
</Country>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Country
NameDescriptionTypeAdditional information
EntityKey

string

None.

EntityDisplayName

string

None.

RowVersion

Collection of byte

None.

CreationDate

date

None.

CreationUser

string

None.

LastWriteDate

date

None.

LastWriteUser

string

None.

Id

globally unique identifier

None.

Code

string

None.

Name

string

None.

Language

string

None.

Currency

string

None.

Decimal

integer

None.

EntityState

CodeFluentEntityState

None.

Response Formats

application/json, text/json

Sample:
{
  "RowVersion": "QEA=",
  "CreationDate": "2019-08-18T15:40:42.8734465+02:00",
  "CreationUser": "sample string 4",
  "LastWriteDate": "2019-08-18T15:40:42.8734465+02:00",
  "LastWriteUser": "sample string 6",
  "Id": "4d6dd598-8899-4b32-bc39-438b7582b363",
  "Code": "sample string 8",
  "Name": "sample string 9",
  "Language": "sample string 10",
  "Currency": "sample string 11",
  "Decimal": 12
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Erpeo.Store.Entities">
  <_code>sample string 8</_code>
  <_creationDate>2019-08-18T15:40:42.8734465+02:00</_creationDate>
  <_creationUser>sample string 4</_creationUser>
  <_currency>sample string 11</_currency>
  <_decimal>12</_decimal>
  <_entityState>Created</_entityState>
  <_id>4d6dd598-8899-4b32-bc39-438b7582b363</_id>
  <_language>sample string 10</_language>
  <_lastWriteDate>2019-08-18T15:40:42.8734465+02:00</_lastWriteDate>
  <_lastWriteUser>sample string 6</_lastWriteUser>
  <_name>sample string 9</_name>
  <_raisePropertyChangedEvents>true</_raisePropertyChangedEvents>
  <_rowVersion>QEA=</_rowVersion>
</Country>