☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

MemberInfoObject

This object is used in the response to the /members request to provide information about members of a certain field.

Properties

{
value: string | number,
id: string
}
Property/TypeDescription
value
String | Number
The member's value.
In the case of a number field, it should be of type number.
In the case of a date field, the members should be passed to Flexmonster as Unix timestamps in milliseconds, then dates are recognized correctly. For example, "2016-02-07" is 1454803200000 when converted to a Unix timestamp in milliseconds.
id
String
optional The member's id. By default, value identifies the member in Flexmonster’s requests and the server’s responses. If id is defined, it will identify the member. For example, Flexmonster will look for the id when processing the keys object from the response to the /select request
Supported only for string fields.

Example

Here is an example of a response to the /members request with the MemberInfoObject:

{
  "members": [
    { "value": "Toronto" }, 
    { "value": "Montreal" }, 
    { "value": "New York" }
  ]
}

See also

/members request