© 2024 Clarivate
POST /api/.../regularitypatterns?displayonly={true}
Get regularity pattern display string, CodePattern and Patterns.
Name | Type | Required | Description |
---|---|---|---|
dtoRegPatternValidateData | DtoRegPatternValidateData | Yes | Define this parameter in the request body. |
displayonly | bool | No | Flag indicating execution will only return a result used for display purposes. When set to true, the data is validated, and a publication pattern is returned without persisting to the database. Default is true if not specified. |
Property | Type | Nullable | Description |
---|---|---|---|
PubCode | Int | No | Required. Publication code. Valid values: 99, 111 and 112 |
CalUnit | String | No | Required. Calendar Unit. Valid values: 1, 2, 4, 5, 6, 7, and 8 |
From | String | No |
Required. Format depends on calendar unit.
|
To | String | No | Required. Format depends on calendar unit.
|
{
"PubCode": 99,
"CalUnit": 5,
"From": "21",
"To": "22"
}
{
"Success": true,
"Message": "cw 21/22",
"CodePattern": "ww",
"Patterns": "21/22"
}
Code | Description |
---|---|
200 | Success |
400 | Bad request |