Iam


Request example

1
2
3
4

curl -X GET https://dealers.masstack.com/v1/commercial-profiles \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK Successful response. [CommercialProfiles]
401 Unauthorized Unauthorized string
404 Not Found Commercial profiles not found into config.yaml ApiErrorResponse

200 - instance of CommercialProfiles

Custom schema example

1
2
3
[
  "perfil_comercial.ecare"
]
Name Type Required Description
anonymous string false commercial profile.

401 - JsonObject

Custom schema example

1
2
3
4
5
6
{
  "code": "0003",
  "status": "UNAUTHORIZED",
  "message": "Unauthorized",
  "detailMsg": "Audience not found to access URI /example-uri"
}
Name Type Required Description
anonymous string false commercial profile.

404 - instance of ApiErrorResponse

Custom schema example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "errors": [
    {
      "code": "NOT_FOUND",
      "title": "Error message",
      "ref": "some_ref",
      "details": "Detailed error message"
    }
  ]
}
Name Type Required Description
restErrors [ApiError] false none

Endpoints

Default

    Dealer

      Fiscal data

        Custom information

          Campaign

            Subchannel

              Store

                Iam

                  Request