digitaluapi

<back to all web services

BatchDataFieldsViewQuery

The following routes are available for this service:
GET/batch_data_fields_view
GET/batch_data_fields_view/{Id}
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
BatchDataFieldsView Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
BatchIdformint?No
UploadFieldsIdformint?No
MappedFieldNameformstringNo
FieldNameformstringNo
RequiredformboolNo
UploadTypeformstringNo
LabelformstringNo
UploadSubtypeformstringNo
IsEnabledformboolNo
SortOrderformdouble?No
HelpformstringNo
PlaceholderformstringNo
DataTypeformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<CampaignCustomersView>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo
CampaignCustomersView Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
NameformstringNo
DescriptionformstringNo
CustomersIdformlong?No
FirstNameformstringNo
LastNameformstringNo
IdNumberformstringNo
PassportNumberformstringNo
EmailformstringNo
MobileNumberformstringNo
CustomerUniqueIdentifierformstringNo
CustomerPublicAccessGuidformGuid?No
CampaignPublicAccessGuidformGuid?No
TenantsIdformint?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /batch_data_fields_view HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"Id":0,"BatchId":0,"UploadFieldsId":0,"MappedFieldName":"String","FieldName":"String","Required":false,"UploadType":"String","Label":"String","UploadSubtype":"String","IsEnabled":false,"SortOrder":0,"Help":"String","Placeholder":"String","DataType":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}