Use this call to return the list of revisions from your source model that can be synchronized to your target model.
For best performance and outcomes, make all API calls to your closest regional server. To learn more about this, read URL, IP, and allowlist requirements.
Note: You must be a Workspace Administrator for both the target and source model workspaces. Additionally, ensure you have access privileges to both models.
Method and endpoint
/models/{targetModelGuid}/alm/syncableRevisions?sourceModelId={sourceModelGuid}
Parameters
| Parameter | Details |
targetModelGuid | Required path parameter. This is the target model GUID that the user wants to sync the source model to. |
sourceModelId={sourceModelGuid} | Required query parameter. The source model GUID that contains the revisions. |
Curl example
curl -L -X GET 'https://api.anaplan.com/2/0/workspaces/ff8081813f9aee3c013f9b06a28a000a/models/A3E7FBE7F67143D18177C2C61E5BCFC8/alm/syncableRevisions?sourceModelId=882EBB062D9147DCBE63749674FAE63F' -H 'Authorization: AnaplanAuthToken {anaplanAuthToken}'`
Response
Below is a sample HTTP 200 OK response. Responses are formatted in application/json.
{
"meta": {
"schema": "{apiUrl}/2/0/objects/revision"
},
"status": {
"code": 200,
"message": "Success"
},
"revisions": [
{
"id": "795731A31D1A47EFB3802EA6355C62C4",
"name": "C",
"description": "Some description",
"createdOn": "2021-03-10T11:31:08Z",
"createdBy": "c1c46795a04d430ca7b0ac0d993a5796",
"creationMethod": "User added revision",
"appliedOn": "2021-03-10T11:31:08Z",
"appliedBy": "c1c46795a04d430ca7b0ac0d993a5796"
},
{
"id": "E7F72A49B23C43638DC77839D78B33BE",
"name": "B",
"createdOn": "2021-03-10T11:28:26Z",
"createdBy": "c1c46795a04d430ca7b0ac0d993a5796",
"creationMethod": "User added revision",
"appliedOn": "2021-03-10T11:28:26Z",
"appliedBy": "c1c46795a04d430ca7b0ac0d993a5796"
}
]
}
Review the ALM API troubleshooting guide to resolve any error responses from API calls.