POST api/Campaigns
Request Information
URI Parameters
None.
Body Parameters
PostCampaignName | Description | Type | Additional information |
---|---|---|---|
Name | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1" }
application/xml, text/xml
Sample:
<PostCampaign xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Name>sample string 1</Name> </PostCampaign>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CampaignName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | globally unique identifier |
None. |
|
CreatorUserId | string |
None. |
|
Name | string |
Required String length: inclusive between 0 and 100 |
|
Created | date |
None. |
|
LastModified | date |
None. |
|
Deleted | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "ced22d7c-a98d-48b0-8eae-2fa98594f3ab", "CompanyId": "05974d56-a007-4364-9423-d8bc91a4fa40", "CreatorUserId": "sample string 3", "Name": "sample string 4", "Created": "2022-05-01T13:22:36.4063377+00:00", "LastModified": "2022-05-01T13:22:36.4063377+00:00", "Deleted": "2022-05-01T13:22:36.4063377+00:00" }