Upload file data for Segment
POST http://api.ants.tech/access/api/segment/upload/:itemTypeId
Request
Params
itemTypeId: Type to define the Customer segment or Visitor segment (-1003for Customer segment, -1007for Visitor segment)file: Form file to upload
Headers
Authorization*
Bearer <ACCESS_TOKEN>
Response
filePath: File storage path, used for Create Segment APIfileName: Metadata of the file, used for Create Segment APIextension: Metadata of the file, used for Create Segment APIdelimiter: Metadata of the file, used for Create Segment APIdelimiterCode: Metadata of the file, used for Create Segment APIheaderFiles: Array containing the file header code and index, used for mapping with BO attributes that need to be uploaded when Creating SegmentheaderCode: Header of the fileheaderIndex: Order ofheaderCode
Last updated