Retrieve List of Segments Associated with List of Account IDs

post

/api/1.0/segmentBatch/getSegmentCdAndAcctIdMapping

This endpoint is used to retrieve list of Segments associated with an list of Account IDs.

Request

Supported Media Types
Query Parameters
Header Parameters
Body ()
Request Body that contains AccountIds List.
Root Schema : DmAccountIdsAndSegmentCodesCollection
Type: object
Collection of list of Account IDs and List of Segment Codes.
Show Source
Nested Schema : accountId
Type: array
List of Account IDs
Show Source
Nested Schema : segmentCode
Type: array
List of Segment Codes
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns map of accounts and Segment Code
Body ()
Root Schema : DmAccountSegmentCodeMap
Type: object
Collection of Map of Segment Code and Account.
Show Source
Nested Schema : segmentCdAccountMap
Type: array
List of Map of Segment Code and Account.
Show Source
Nested Schema : DmAccountSegmentCodePair
Type: object
Map of Segment Code and Account ID.
Show Source
Nested Schema : segmentCode
Type: array
Segment Code
Show Source

400 Response

Malformed syntax.

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top