campaign resource type
Represents a campaign in Business Central.
Note
For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.
Methods
| Method | Return Type | Description |
|---|---|---|
| GET campaign | campaign | Gets a campaign object. |
| DELETE campaign | none | Deletes a campaign object. |
| POST campaign | campaign | Creates a campaign object. |
| PATCH campaign | campaign | Updates a campaign object. |
Properties
| Property | Type | Description | Max Length |
|---|---|---|---|
| 🔑 id | GUID | The unique ID of the campaign. Non-editable. | |
| number | String | Specifies campaign no. | 20 |
| description | String | Primary Campaign description | 100 |
| startingDate | DateTime | Specifies campaign starting date. | |
| endingDate | DateTime | Specifies campaign ending date. | |
| statusCode | String | Status code of the campaign. | 10 |
| activted | Boolean | Specifies whether this campaign is activated. |