| GET | /campaign/inbox/form |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetCampaignActionClientFormData
{
open var Id:Long? = null
open var CommsGuid:UUID? = null
open var CampaignActionsRequestsId:Long? = null
}
open class GetCampaignActionClientFormDataResponse
{
open var FormMetaResponses:CampaignActionFormResults? = null
open var ResponseStatus:ResponseStatus? = null
}
open class CampaignActionFormResults
{
open var CustomFormResults:String? = null
open var Comments:String? = null
open var CampaignActionFiles:ArrayList<CampaignActionFile>? = null
}
open class CampaignActionFile
{
open var Name:String? = null
open var FileType:String? = null
open var FileSize:String? = null
open var Extension:String? = null
open var UploadUrl:String? = null
}
Kotlin GetCampaignActionClientFormData DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /campaign/inbox/form HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
FormMetaResponses:
{
CustomFormResults: String,
Comments: String,
CampaignActionFiles:
[
{
Name: String,
FileType: String,
FileSize: String,
Extension: String,
UploadUrl: String
}
]
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}