Retrieve OM Competitors By Code
  • 20 Mar 2024
  • 1 Minute to read
  • Dark
    Light

Retrieve OM Competitors By Code

  • Dark
    Light

Article Summary

Get
/om-rest-api/rest/1/omcompetitor

Query Standards

Finder

Following row finders are available for data filtering and optimizing request performance.

  • Select Competitor
  • By UUID

Select Competitor

Recommended finder parameters. Refer to Query Parameters for example.

ParameterDescriptionSample
competitorCodeCompetitor CodeWILEY

By UUID

This is an optional finder for querying a specific Competitor by row ID.

ParameterDescriptionSample
/VUUIDThe VUuid attribute is the Unique row ID/om-rest-api/rest/1/omcompetitor/B41F5545C27BA908E053B08610AC2C73
Security
HTTP
Type basic

Basic authentication

Query parameters
finder
string
ExampleselectCompetitor; competitorCode=WILEY
limit
integer
Example500
offset
integer
Example0
totalResults
boolean
Exampletrue
orderBy
string
ExampleOmcVUuid:desc
Responses
200

OK

Headers
Content-Type
string
{
  "items": [
    {
      "OmcCompetitorCode": "WILEY",
      "OmcName": "Wiley Construction Inc.",
      "OmcProductName": null,
      "OmcStrengths": "Long established in the area",
      "OmcWeaknesses": "Small company doing mostly specialty work.",
      "OmcRating": "75",
      "OmcPartnCode": null,
      "OmcPartnTypeCode": null,
      "OmcContactCode": null,
      "OmcOpportunities": "Position our overall experience and diversity",
      "OmcThreats": "Personal reslationships with university.",
      "OmcIuCreateDate": "2015-06-26T14:29:17Z",
      "OmcIuCreateUser": "BILL",
      "OmcIuUpdateDate": null,
      "OmcIuUpdateUser": null,
      "OmcVUuid": "B41F5545C27BA908E053B08610AC2C73",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/om-rest-api/rest/1/omcompetitor/B41F5545C27BA908E053B08610AC2C73",
          "name": "omcompetitor",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/om-rest-api/rest/1/omcompetitor/B41F5545C27BA908E053B08610AC2C73",
          "name": "omcompetitor",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false,
  "limit": 50,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/om-rest-api/rest/1/omcompetitor",
      "name": "omcompetitor",
      "kind": "collection"
    }
  ]
}
object