Zerto Virtual Replication APIs : Service Profiles API : Format
  
Format
Json, XML
Request Format
The request body is empty.
Json Response Body
The following is an example response Json body for https://zvm_ip:port/v1/serviceprofiles and for https://zvm_ip:port/v1/serviceprofiles/{SiteIdentifier}.
[{
  "Description": "String content",
  "History":"P428DT10H30M12.3S",
  "JournalWarningThresholdInPercent":4294967295,
  "Link": {
    "href": "String content",
    "identifier": "String content",
    "rel": "String content",
    "type": "String content"
  },
  "MaxJournalSizeInPercent":4294967295,
  "Rpo":"P428DT10H30M12.3S",
  "ServiceProfileIdentifier": "String content",
  "ServiceProfileName": "String content",
  "TestInterval":"P428DT10H30M12.3S"},
}]
XML Response Format
For the XML response format, see “Service Profiles API XML Response Formats”, on page 232.
Response Values
Response values for https://zvm_ip:port/v1/serviceprofiles and for https://zvm_ip:port/v1/serviceprofiles/{SiteIdentifier}.
Parameter
Description
Description
A description of the service profile.
History
The length of time all write commands are saved in the journal.
JournalWarningThresholdInPercent
The journal size that triggers a warning that the journal has neared its hard limit, as a percentage of the virtual machine volume size.
Link
The link details.
href
The URL used.
identifier
The unique identifier of the service profile.
rel
The next path level for the API relative to the current path.
type
The API interface service.
MaxJournalSizeInPercent
The maximum size that the journal can grow, as a percentage of the virtual machine volume size.
Rpo
The maximum desired time between each automatic checkpoint being written to the journal before an alert is issued.
ServiceProfileIdentifier
The unique identifier of the service profile.
ServiceProfileName
The name of the service profile.
TestInterval
The period of time specified in the VPG that should pass between testing the failover process.
PowerShell Scripts
For complete PowerShell Scripts, see “Code Samples”, on page 20.