PUT api/ucc_clubs/update/{id}?itemid={itemid}

עדכון מועדון

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemid

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

globally unique identifier

Required

id

string

None.

Body Parameters

מועדון

ucc_club
NameDescriptionTypeAdditional information
ucc_name

שם המועדון

string

Required

ucc_classification_id

סיווג

Classifications

None.

ucc_status_id

תת סיווג

SubClassifications

None.

StateCode

מצב

integer

None.

ucc_need_to_pay

האם בתשלום

ucc_need_to_pay

None.

ucc_show_on_icpas

האם להציג באתר רואי חשבון

boolean

None.

ucc_show_on_hashav

האם להציג באתר חשבי שכר

boolean

None.

ucc_Description

תיאור מועדון

string

None.

ucc_Description_essence

תמצית מועדון

string

None.

Id

Dynamics 365 primary key.

globally unique identifier

None.

CreatedOn

נוצר ב

date

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ucc_name": "sample string 1",
  "ucc_classification_id": {
    "ucc_id_number": 801270000,
    "displayName": "sample string 1",
    "id": "66fb17b6-7f3a-4f00-a8d7-04d1368c0b0c",
    "createdOn": "2026-06-03T18:14:16.8221896+00:00",
    "modifiedOn": "2026-06-03T18:14:16.8221896+00:00"
  },
  "ucc_status_id": {
    "displayName": "sample string 1",
    "id": "6ae2c5a5-db7a-43c4-a06e-a3b6719387f2",
    "createdOn": "2026-06-03T18:14:16.8221896+00:00",
    "modifiedOn": "2026-06-03T18:14:16.8221896+00:00"
  },
  "stateCode": 1,
  "ucc_need_to_pay": 0,
  "ucc_show_on_icpas": true,
  "ucc_show_on_hashav": true,
  "ucc_Description": "sample string 2",
  "ucc_Description_essence": "sample string 3",
  "id": "6628749b-17a6-48a1-a632-89b17e493109",
  "createdOn": "2026-06-03T18:14:16.8221896+00:00",
  "modifiedOn": "2026-06-03T18:14:16.8221896+00:00"
}

application/xml, text/xml

Sample:
<ucc_club xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
  <CreatedOn>2026-06-03T18:14:16.8221896+00:00</CreatedOn>
  <Id>6628749b-17a6-48a1-a632-89b17e493109</Id>
  <ModifiedOn>2026-06-03T18:14:16.8221896+00:00</ModifiedOn>
  <StateCode>1</StateCode>
  <ucc_Description>sample string 2</ucc_Description>
  <ucc_Description_essence>sample string 3</ucc_Description_essence>
  <ucc_classification_id>
    <CreatedOn>2026-06-03T18:14:16.8221896+00:00</CreatedOn>
    <Id>66fb17b6-7f3a-4f00-a8d7-04d1368c0b0c</Id>
    <ModifiedOn>2026-06-03T18:14:16.8221896+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
    <ucc_id_number>OP0</ucc_id_number>
  </ucc_classification_id>
  <ucc_name>sample string 1</ucc_name>
  <ucc_need_to_pay>OPT0</ucc_need_to_pay>
  <ucc_show_on_hashav>true</ucc_show_on_hashav>
  <ucc_show_on_icpas>true</ucc_show_on_icpas>
  <ucc_status_id>
    <CreatedOn>2026-06-03T18:14:16.8221896+00:00</CreatedOn>
    <Id>6ae2c5a5-db7a-43c4-a06e-a3b6719387f2</Id>
    <ModifiedOn>2026-06-03T18:14:16.8221896+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_status_id>
</ucc_club>

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

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.