PUT api/cities?itemid={itemid}

עדכון עיר

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemid

מזהה יחודי של פריט

globally unique identifier

Required

Body Parameters

עיר

ucc_city
NameDescriptionTypeAdditional information
DisplayName

שם לתצוגה

string

None.

Id

Dynamics 365 primary key.

globally unique identifier

None.

CreatedOn

נוצר ב

date

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "displayName": "sample string 1",
  "id": "0fa79bb1-3140-4f5f-8259-e8bef75fe8e8",
  "createdOn": "2026-06-03T18:12:03.7414237+00:00",
  "modifiedOn": "2026-06-03T18:12:03.7414237+00:00"
}

application/xml, text/xml

Sample:
<ucc_city xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
  <CreatedOn>2026-06-03T18:12:03.7414237+00:00</CreatedOn>
  <Id>0fa79bb1-3140-4f5f-8259-e8bef75fe8e8</Id>
  <ModifiedOn>2026-06-03T18:12:03.7414237+00:00</ModifiedOn>
  <DisplayName>sample string 1</DisplayName>
</ucc_city>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

תוצאות פעולה

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.