How to use CMServiceAPI to connect and save the document to CM23

Is there anyone to provide the User Guide how to use CMServiceAPI ? Thank

Parents
  • 0

    Hi There, 

    Depending on how the ServiceAPI was configured during installation, it comes with with a Help Index and a Swagger interface. 

    http://<ServerName>/CMServiceAPI/help/index

    http://<ServerName>/CMServiceAPI/swagger-ui/

    Some knowledge of your Content Manager instance will be required to assist with structuring of the payload to meet any CM requirements for capturing documents into the system. 

  • 0   in reply to 

    In the built in self-hosted documentation under 'Samples' (a bit down on the landing page) there should be one for 'Create a Record from a document'

    To see the payload you should be able to open up the network monitor using your web browsers dev tools to look how the payload was crafted to suit your particular dataset.

    -Scotty

Reply
  • 0   in reply to 

    In the built in self-hosted documentation under 'Samples' (a bit down on the landing page) there should be one for 'Create a Record from a document'

    To see the payload you should be able to open up the network monitor using your web browsers dev tools to look how the payload was crafted to suit your particular dataset.

    -Scotty

Children
  • 0 in reply to   

    Thank Scotty. Through http://<ServerName>/CMServiceAPI/swagger-ui/  I got the following much information. Where can I get the User Guide how to use each URLS (Post, GET, PUT, PATCH and Delete) For example, how to get the record type, unique identifier, container, classification and so on and how to inject the document into CM23