PUT api/accounts?itemid={itemid}
עדכון פרטים של ארגון קיים
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| itemid |
מזהה הארגון שרוצים לעדכן |
globally unique identifier |
Required |
Body Parameters
פרמטרים לעדכון
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
שם הארגון |
string |
None. |
| ucc_VAT |
ח.פ |
string |
None. |
| Telephone1 |
מספר הטלפון |
string |
None. |
| ucc_city_id |
עיר |
ucc_city |
None. |
| ucc_street_id |
רחוב |
ucc_street |
None. |
| ucc_house_number |
מספר |
string |
None. |
| ucc_postalcode_id |
מיקוד |
ucc_postalcode |
None. |
| Id |
Dynamics 365 primary key. |
globally unique identifier |
None. |
| CreatedOn |
נוצר ב |
date |
None. |
| ModifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"ucc_VAT": "sample string 2",
"telephone1": "sample string 3",
"ucc_city_id": {
"displayName": "sample string 1",
"id": "05da05d9-807b-4919-ad46-019191812379",
"createdOn": "2026-06-03T18:13:13.3624781+00:00",
"modifiedOn": "2026-06-03T18:13:13.3624781+00:00"
},
"ucc_street_id": {
"displayName": "sample string 1",
"id": "75a8a8bf-f103-4e0f-9a9c-ad184c8da85d",
"createdOn": "2026-06-03T18:13:13.3624781+00:00",
"modifiedOn": "2026-06-03T18:13:13.3624781+00:00"
},
"ucc_house_number": "sample string 4",
"ucc_postalcode_id": {
"displayName": "sample string 1",
"id": "28bbd2d2-cc3b-495c-b9ec-59731c2986a7",
"createdOn": "2026-06-03T18:13:13.3624781+00:00",
"modifiedOn": "2026-06-03T18:13:13.3624781+00:00"
},
"id": "19ce7d84-2325-4325-9249-43b87ca461ac",
"createdOn": "2026-06-03T18:13:13.3624781+00:00",
"modifiedOn": "2026-06-03T18:13:13.3624781+00:00"
}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
<CreatedOn>2026-06-03T18:13:13.3624781+00:00</CreatedOn>
<Id>19ce7d84-2325-4325-9249-43b87ca461ac</Id>
<ModifiedOn>2026-06-03T18:13:13.3624781+00:00</ModifiedOn>
<Name>sample string 1</Name>
<Telephone1>sample string 3</Telephone1>
<ucc_VAT>sample string 2</ucc_VAT>
<ucc_city_id>
<CreatedOn>2026-06-03T18:13:13.3624781+00:00</CreatedOn>
<Id>05da05d9-807b-4919-ad46-019191812379</Id>
<ModifiedOn>2026-06-03T18:13:13.3624781+00:00</ModifiedOn>
<DisplayName>sample string 1</DisplayName>
</ucc_city_id>
<ucc_house_number>sample string 4</ucc_house_number>
<ucc_postalcode_id>
<CreatedOn>2026-06-03T18:13:13.3624781+00:00</CreatedOn>
<Id>28bbd2d2-cc3b-495c-b9ec-59731c2986a7</Id>
<ModifiedOn>2026-06-03T18:13:13.3624781+00:00</ModifiedOn>
<DisplayName>sample string 1</DisplayName>
</ucc_postalcode_id>
<ucc_street_id>
<CreatedOn>2026-06-03T18:13:13.3624781+00:00</CreatedOn>
<Id>75a8a8bf-f103-4e0f-9a9c-ad184c8da85d</Id>
<ModifiedOn>2026-06-03T18:13:13.3624781+00:00</ModifiedOn>
<DisplayName>sample string 1</DisplayName>
</ucc_street_id>
</Account>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
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.