Description: Publish Campaign
URL: http://{your-server-url}/api/v1/appspace/campaigns/publish
Method: POST
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign.CampaignRequest
Parameter | Type | Nullable |
---|---|---|
Request.CampaignID | integer | False |
Request.ScriptType | Nexus.AppSpace.Service.Contract.Model.Enums.Campaign.ScriptType | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign.CampaignResponse
Parameter | Type |
---|---|
Response.Result | boolean |
<CampaignRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CampaignID>123</CampaignID> <ScriptType>XMLDataContract</ScriptType> </CampaignRequest>
{ "CampaignID":123, "ScriptType":3 }
<CampaignResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> <Result>true</Result> </CampaignResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "Result":true }