You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Create Early-Bound Entity Classes with the Code Generation Tool (CrmSvcUtil.exe)](/dynamics365/customer-engagement/developer/create-early-bound-entity-classes-code-generation-tool)<br />
129
129
[Use the Early Bound Entity Classes for Create, Update and Delete](/dynamics365/customer-engagement/developer/use-entity-class-create-update-delete)<br />
@@ -47,21 +47,21 @@ Use a POST request to submit a batch operation that contains multiple requests.
47
47
The POST request containing the batch must have a Content-Type header with a value set to multipart/mixed with a boundary set to include the identifier of the batch using this pattern:
48
48
49
49
```
50
-
--batch_<unique identifier>
50
+
--batch_<unique identifier>
51
51
```
52
52
53
53
The unique identifier doesn’t need to be a GUID, but should be unique. Each item within the batch must be preceded by the batch identifier with a Content-Type and Content-Transfer-Encoding header like the following:
54
54
55
55
```
56
-
--batch_WKQS9Yui9r
57
-
Content-Type: application/http
58
-
Content-Transfer-Encoding:binary
56
+
--batch_WKQS9Yui9r
57
+
Content-Type: application/http
58
+
Content-Transfer-Encoding:binary
59
59
```
60
60
61
61
The end of the batch must contain a termination indicator like the following:
62
62
63
63
```
64
-
--batch_WKQS9Yui9r--
64
+
--batch_WKQS9Yui9r--
65
65
```
66
66
67
67
<aname="bkmk_ChangeSets"></a>
@@ -71,23 +71,23 @@ The end of the batch must contain a termination indicator like the following:
71
71
When multiple operations are contained in a change set, all the operations are considered atomic, which means that if any one of the operations fail, any completed operations will be rolled back. Like a batch request, change sets must have a Content-Type header with value set to multipart/mixed with a boundary set to include the identifier of the change set using this pattern:
72
72
73
73
```
74
-
--changeset_<unique identifier>
74
+
--changeset_<unique identifier>
75
75
```
76
76
77
77
The unique identifier doesn’t need to be a GUID, but should be unique. Each item within the change set must be preceded by the change set identifier with a Content-Type and Content-Transfer-Encoding header like the following:
78
78
79
79
```
80
-
--changeset_BBB456
81
-
Content-Type: application/http
82
-
Content-Transfer-Encoding:binary
80
+
--changeset_BBB456
81
+
Content-Type: application/http
82
+
Content-Transfer-Encoding:binary
83
83
```
84
84
85
85
Change sets can also include a Content-ID header with a unique value. This value, when prefixed with `$`, represents a variable that contains the Uri for any entity created in that operation. For example, when you set the value of 1, you can refer to that entity using `$1` later in your change set.
86
86
87
87
The end of the change set must contain a termination indicator like the following:
88
88
89
89
```
90
-
--changeset_BBB456--
90
+
--changeset_BBB456--
91
91
```
92
92
93
93
<aname="bkmk_Example"></a>
@@ -103,111 +103,111 @@ Finally, a GET request is included outside the change set to return all six task
Include `odata.include-annotations` preference header with the `GET` requests and set its value to "*" to specify that all annotations related to the properties be returned.
For more information about preference headers, see [Header Prefer](https://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752234).
0 commit comments