Memsource Legacy API

Quote 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 Quote

action: api/v2/quote/create
    token                       string
    name                        string
    project                     domain(Project)
    analyse                     domain(Analyse)
    priceList                   domain(PriceList)
    discountScheme              domain(DiscountScheme)      O
    workflowStep                list(domain(WorkflowStep))  O
                        

response: JSON
    {
      "id": 238                 // id of the new quote
    }

Get a Quote

action: api/v2/quote/get
    token                       string
    quote                       domain(Quote)

response: JSON
   {
     "id":1,
     "name":"Quote",
     "status":"NEW",
     "currency":"USD",
     "billingUnit":"Word",
     "createdBy":{
       "id":1,
       "firstName":"admin",
       "lastName":"test",
       "userName":"admin",
       "email":"test@test.com",
       "role":"ADMIN",
       "timezone":"Europe/London",
       "active":true,
       "deleted":false,
       "terminologist":false,
       "dateCreated":"2017-01-05T15:42:20+0000"
     },
     "dateCreated":"2017-01-05T15:42:54+0000",
     "totalPrice":0.0
   }

Delete a Quote

action: api/v2/quote/delete
    token                       string
    quote                       domain(Quote)

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

Please sign in to leave a comment.