Retrieve All Segment Related Facts Values
post
/api/1.0/segmentBatch/getSegmentfacts
This endpoint is used to retrieve the list of facts associated to Segment.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
-
acctId(optional): string
The Account ID used to fetch Segment Facts.
Header Parameters
-
appId: string
The application ID of host service.
-
branchCode: string
The branch code of requesting branch.
-
contentType(optional): string
The content type of request or response body.
-
userId: string
The user ID of requesting user.
Request Body that contains data required for fetching facts values against entities.
Root Schema : DmEntityFactValuesCollection
Type:
object
Collection of DmEntityFactValues.
Show Source
Nested Schema : dmEntityFactValuesList
Type:
Show Source
array
-
Array of:
object DmEntityFactValues
DmEntityFactValues model
Nested Schema : DmEntityFactValues
Type:
object
DmEntityFactValues model
Show Source
-
entityName(optional):
string
Entity Name
-
factName(optional):
string
Fact Name
-
fieldName(optional):
string
Column Name
-
fieldValue(optional):
object fieldValue
Column Value
Nested Schema : fieldValue
Type:
object
Column Value
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful performs the operation
Root Schema : DmEntityFactValuesCollection
Type:
object
Collection of DmEntityFactValues.
Show Source
Nested Schema : dmEntityFactValuesList
Type:
Show Source
array
-
Array of:
object DmEntityFactValues
DmEntityFactValues model
Nested Schema : DmEntityFactValues
Type:
object
DmEntityFactValues model
Show Source
-
entityName(optional):
string
Entity Name
-
factName(optional):
string
Fact Name
-
fieldName(optional):
string
Column Name
-
fieldValue(optional):
object fieldValue
Column Value
Nested Schema : fieldValue
Type:
object
Column Value
201 Response
Returns message of succes or failure
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error