POST api/ucc_recurring_service_customer/create

יצירה של רשומה חדשה

Request Information

URI Parameters

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": "22e62268-de31-4239-b1f0-e59be5f4d5a3",
    "createdOn": "2026-06-03T18:12:51.529324+00:00",
    "modifiedOn": "2026-06-03T18:12:51.529324+00:00"
  },
  "ucc_start_date": "2026-06-03T18:12:51.529324+00:00",
  "ucc_end_date": "2026-06-03T18:12:51.529324+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": "ff02f579-763b-42d5-9570-7ed78e215272",
    "createdOn": "2026-06-03T18:12:51.529324+00:00",
    "modifiedOn": "2026-06-03T18:12:51.529324+00:00"
  },
  "id": "40ce80ff-8d9b-4088-bf20-58c525ffcf97",
  "createdOn": "2026-06-03T18:12:51.529324+00:00",
  "modifiedOn": "2026-06-03T18:12:51.529324+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:12:51.529324+00:00</CreatedOn>
  <Id>40ce80ff-8d9b-4088-bf20-58c525ffcf97</Id>
  <ModifiedOn>2026-06-03T18:12:51.529324+00:00</ModifiedOn>
  <StateCode>1</StateCode>
  <ucc_accountid>
    <CreatedOn>2026-06-03T18:12:51.529324+00:00</CreatedOn>
    <Id>ff02f579-763b-42d5-9570-7ed78e215272</Id>
    <ModifiedOn>2026-06-03T18:12:51.529324+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_accountid>
  <ucc_accountorcontact>true</ucc_accountorcontact>
  <ucc_contact_id>
    <CreatedOn>2026-06-03T18:12:51.529324+00:00</CreatedOn>
    <Id>22e62268-de31-4239-b1f0-e59be5f4d5a3</Id>
    <ModifiedOn>2026-06-03T18:12:51.529324+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_contact_id>
  <ucc_end_date>2026-06-03T18:12:51.529324+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:12:51.529324+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.