POST
/
api2
/
v1
/
segmentationRules
Create segmentation rule
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/segmentationRules \
  --header 'Content-Type: application/octet-stream' \
  --header 'segRule: <segrule>' \
  --data '{}'
{
  "id": "<string>",
  "uid": "<string>",
  "name": "<string>",
  "locale": "<string>",
  "primary": true,
  "filename": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  }
}

Headers

segRule
string
required
Maximum length: 512

Body

application/octet-stream · object

streamed file

The body is of type object.

Response

201
application/json

Created

segmentation rule object