TAG LINE
TAG LINE
SMALL TITLE

Locale

(API Version v8)


System defined list of global Locale identifiers.


What can you do with Locale?

  • DELETE Locale/{id}
    Delete an instance of the Locale object.

  • GET Locale/
    Retrieve all of the Locale objects.

  • GET Locale/Paged
    Retrieve all of the Locale objects in a paged fashion.

  • GET Locale/{id}
    Retrieve an instance of the Locale object by its ID.

  • POST Locale/
    Create a new instance of the Locale object.

  • PUT Locale/{id}
    Update an existing instance of the Locale object.


Properties

Property Details
identity
READ-ONLY
"identity": 4
Type: Number
This is the unique numeric identifier for the Locale
name
READ-ONLY
"name": "English"
Type: String
System defined name for this Locale.
ownerId
READ-ONLY
"ownerId": 5
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId property.
sortOrder
READ-ONLY
"sortOrder": 26
Type: Number
Unused
localeIdentifier
READ-ONLY
"localeIdentifier": "EN"
Type: String
System defined standard identifier for the locale.


End Points

DELETELocale/{id}
Delete an instance of the Locale object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the Locale object.
Delete an instance of the Locale object.
DELETE Locale/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "locale"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETLocale/
Retrieve all of the Locale objects.
Retrieve all of the Locale objects.
GET Locale/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "English",
            "ownerId": 18,
            "ownerName": "Sample Text Data",
            "sortOrder": 17,
            "localeIdentifier": "EN"
        }
    ]
}
GETLocale/Paged
Retrieve all of the Locale objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the Locale objects in a paged fashion.
GET Locale/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "English",
                "ownerId": 17,
                "ownerName": "Sample Text Data",
                "sortOrder": 22,
                "localeIdentifier": "EN"
            }
        ]
    }
}
GETLocale/{id}
Retrieve an instance of the Locale object by its ID.
{id}Unique identifier for the Locale object.
Retrieve an instance of the Locale object by its ID.
GET Locale/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "English",
        "ownerId": 23,
        "ownerName": "Sample Text Data",
        "sortOrder": 19,
        "localeIdentifier": "EN"
    }
}
POSTLocale/
Create a new instance of the Locale object.
Create a new instance of the Locale object.
POST Locale/

{}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "English",
                "ownerId": 8,
                "ownerName": "Sample Text Data",
                "sortOrder": 22,
                "localeIdentifier": "EN"
            }
        ]
    }
}
PUTLocale/{id}
Update an existing instance of the Locale object.
Update an existing instance of the Locale object.
PUT Locale/{id}

{
    "identity": 1
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "English",
                "ownerId": 14,
                "ownerName": "Sample Text Data",
                "sortOrder": 0,
                "localeIdentifier": "EN"
            }
        ]
    }
}