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

עדכון מנוי שירות לחוזרים

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemid

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

globally unique identifier

Required

id

string

None.

Body Parameters

מנוי שירות לחוזרים

ucc_Recurring_service_customer
NameDescriptionTypeAdditional information
ucc_order_status

סטטוס סל הזמנה

ucc_order_status

None.

ucc_contact_id

איש קשר

ContactRefernce

None.

ucc_start_date

תאריך התחלה

date

None.

ucc_end_date

תאריך סיום

date

None.

ucc_id_number

תעודת זהות

string

None.

ucc_password

סיסמא

string

None.

StateCode

מצב מצב

integer

None.

ucc_accountorcontact

שתי אפשרויות (ארגון/איש קשר)

boolean

None.

ucc_accountid

בדיקת מידע לישות ארגונים במערכת

AccountReference

None.

Id

Dynamics 365 primary key.

globally unique identifier

None.

CreatedOn

נוצר ב

date

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ucc_order_status": 801270000,
  "ucc_contact_id": {
    "displayName": "sample string 1",
    "id": "be0a7a4d-39dc-4ac7-bbf6-6b6fde03dafe",
    "createdOn": "2026-06-03T18:13:59.4780521+00:00",
    "modifiedOn": "2026-06-03T18:13:59.4780521+00:00"
  },
  "ucc_start_date": "2026-06-03T18:13:59.4780521+00:00",
  "ucc_end_date": "2026-06-03T18:13:59.4780521+00:00",
  "ucc_id_number": "sample string 1",
  "ucc_password": "sample string 2",
  "stateCode": 1,
  "ucc_accountorcontact": true,
  "ucc_accountid": {
    "displayName": "sample string 1",
    "id": "e11e1f7d-299b-4ef9-b9f2-a2123a5150e4",
    "createdOn": "2026-06-03T18:13:59.4780521+00:00",
    "modifiedOn": "2026-06-03T18:13:59.4780521+00:00"
  },
  "id": "67fff681-e0d5-46bb-8290-b15edd58697c",
  "createdOn": "2026-06-03T18:13:59.4780521+00:00",
  "modifiedOn": "2026-06-03T18:13:59.4780521+00:00"
}

application/xml, text/xml

Sample:
<ucc_Recurring_service_customer 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:59.4780521+00:00</CreatedOn>
  <Id>67fff681-e0d5-46bb-8290-b15edd58697c</Id>
  <ModifiedOn>2026-06-03T18:13:59.4780521+00:00</ModifiedOn>
  <StateCode>1</StateCode>
  <ucc_accountid>
    <CreatedOn>2026-06-03T18:13:59.4780521+00:00</CreatedOn>
    <Id>e11e1f7d-299b-4ef9-b9f2-a2123a5150e4</Id>
    <ModifiedOn>2026-06-03T18:13:59.4780521+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_accountid>
  <ucc_accountorcontact>true</ucc_accountorcontact>
  <ucc_contact_id>
    <CreatedOn>2026-06-03T18:13:59.4780521+00:00</CreatedOn>
    <Id>be0a7a4d-39dc-4ac7-bbf6-6b6fde03dafe</Id>
    <ModifiedOn>2026-06-03T18:13:59.4780521+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_contact_id>
  <ucc_end_date>2026-06-03T18:13:59.4780521+00:00</ucc_end_date>
  <ucc_id_number>sample string 1</ucc_id_number>
  <ucc_order_status>OPT00</ucc_order_status>
  <ucc_password>sample string 2</ucc_password>
  <ucc_start_date>2026-06-03T18:13:59.4780521+00:00</ucc_start_date>
</ucc_Recurring_service_customer>

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

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.