{"openapi":"3.0.0","info":{"version":"v1","title":"a365 integration api","description":"a365 integration api for CRM or other integration - work-in-progress"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/williamvanmale/a365ew/v1"},{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/williamvanmale/a365i/v1"}],"paths":{"/a365i/caller":{"get":{"summary":"get caller details by telno or sipadress","parameters":[{"name":"phoneorsip","in":"query","required":true,"description":"caller is either e164 phonenumber or sipadress","schema":{"type":"string"}},{"name":"uccname","in":"query","required":true,"description":"name of the ucc where call is received","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"url":{"type":"string"}}},"required":["label","value"]},"example":{"test1":{"label":"Company","value":"Workstreampeople","url":"https://workstreampeople.com"},"test2":{"label":"First name","value":"Henriette","url":"https://yourcrm.com/yourcompany/person?personid=2644964"}}}}},"404":{"description":"telno or sipadress not found"}}}},"/a365i/case":{"get":{"summary":"get cases","parameters":[{"name":"personid","in":"query","required":true,"description":"the id to fetch cases associated with caller","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}}}}