POST /AUDIENCE/SEGMENT/{ID}¶
Use this API to upload user qualifications for an individual taxonomy-entity {id} of type “SEGMENT”. User qualifications for a SEGMENT can also be uploaded via the recommended POST /audience API detailed in the previous section. This is an alternative way of uploading a segment if you choose to do so. If you have special characters in your taxonomy ids, please ensure that your HTTP client URL encodes the end point.
Text Representation¶
A row (unit of data) in the payload must be a simple text value for the URN that qualifies in this segment (without any quotes or pipes or brackets etc. Just the URN, one per line).
URN
Note
The user identifier URN must conform to “urnType” specified in the metadata of the POST call.
ResourceType for this representation is “datax-segment”.
Representation Example – Upload user qualifications for segment OH224¶
A payload of three qualifying users with URNs 99ff2333, 07feb252 and f10d53af will look like the following prior to compression:
99ff2333
07feb252
f10d53af
POST Call Example¶
Everything except the following is identical to the POST Call Example listed for /audience in the previous section:
URI - POST /audience/segment/OH224
Metadata response - “resourceType” : “datax-segment”