POST api/disposalrequest

יצירה של פריט חדש מסוג: בקשות לגריעה

Request Information

URI Parameters

None.

Body Parameters

בקשה לגריעה

ucc_Disposal_Request
NameDescriptionTypeAdditional information
ucc_Contact_Id

מצביע ל-איש קשר

ContactRefernce

None.

ucc_Kind_Request

סוג בקשה

ucc_Kind_Request

None.

ucc_Communications

אמצעי תקשורת

ucc_Communications

None.

ucc_disposal_Reason

סיבת גריעה

ucc_disposal_Reason

None.

Id

Dynamics 365 primary key.

globally unique identifier

None.

CreatedOn

נוצר ב

date

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ucc_Contact_Id": {
    "displayName": "sample string 1",
    "id": "79a0546f-7ca1-49a4-81be-b28e7cf5b6f0",
    "createdOn": "2026-06-03T18:11:05.5180046+00:00",
    "modifiedOn": "2026-06-03T18:11:05.5180046+00:00"
  },
  "ucc_Kind_Request": 801270000,
  "ucc_Communications": 801270000,
  "ucc_disposal_Reason": 801270000,
  "id": "e634f47a-bf40-43ac-9b26-80c6d6d05b79",
  "createdOn": "2026-06-03T18:11:05.5180046+00:00",
  "modifiedOn": "2026-06-03T18:11:05.5180046+00:00"
}

application/xml, text/xml

Sample:
<ucc_Disposal_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
  <CreatedOn>2026-06-03T18:11:05.5180046+00:00</CreatedOn>
  <Id>e634f47a-bf40-43ac-9b26-80c6d6d05b79</Id>
  <ModifiedOn>2026-06-03T18:11:05.5180046+00:00</ModifiedOn>
  <ucc_Communications>Opt0</ucc_Communications>
  <ucc_Contact_Id>
    <CreatedOn>2026-06-03T18:11:05.5180046+00:00</CreatedOn>
    <Id>79a0546f-7ca1-49a4-81be-b28e7cf5b6f0</Id>
    <ModifiedOn>2026-06-03T18:11:05.5180046+00:00</ModifiedOn>
    <DisplayName>sample string 1</DisplayName>
  </ucc_Contact_Id>
  <ucc_Kind_Request>Opt0</ucc_Kind_Request>
  <ucc_disposal_Reason>Opt0</ucc_disposal_Reason>
</ucc_Disposal_Request>

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

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.