English
cURL
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>" } }
Creates new Segmentation Rule with file and segRule JSON Object as header parameter. The same object is used for GET action.
512
streamed file
The body is of type object.
object
Created
segmentation rule object
Was this page helpful?