Memsource Legacy API

Segmentation API v2

Important:

Memsource Legacy API will be deprecated in September 2020. It is disabled for all new organization accounts created after May 7th 2019.
Please use Memsource REST API instead.

Create a New Segmentation Rule

action: api/v2/segRule/create
    token                       string
    name                        string
    locale                      locale
    primary                     boolean                        O(false)
    file                        exfile                         

response: JSON
    {
      "id": 39                 // id of the new segmentation rule
    }

Get a Segmentation Rule

action: api/v2/segRule/get
    token                       string
    segmentationRule            domain(SegRule)
  
response: JSON
    {
       "id":1,
       "filename":"en.srx",
       "dateCreated":"2016-05-10T19:05:39+0000",
       "createdBy":
          {
             "id":1
          },
       "name":"Seg. Rule Test",
       "locale":"en",
       "primary":true
    }

List Segmentation Rules

action: api/v2/segRule/list
    token                       string
    page                        integer            O(0)
    name                        string             O

response: JSON
   [
      {
         "id":1,
         "filename":"en.srx",
         "dateCreated":"2016-05-10T19:40:04+0000",
         "createdBy":
            {
               "id":1
            },
         "name":"Seg. Rule Test",
         "locale":"en",
         "primary":true
      }
   ]

Edit a Segmentation Rule

action: api/v2/segRule/edit
    token                       string
    segmentationRule            domain(SegRule)
    name                        string
    locale                      locale
    primary                     boolean                        O(false)

response: empty

Delete a Segmentation Rule

action: api/v2/segRule/delete
    token                       string
    segmentationRule            domain(SegRule)

response: empty
Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question you can leave a public comment below or Submit a request to our Support team.
Thank you for your feedback.

Comments

0 comments

Article is closed for comments.