Create Service Area Restriction
post
ss/oc-cnpolicy-configuration/v1/policydata/pcfam/servicearearestrictions
Request
Supported Media Types
- application/json
body
Root Schema : ServiceAreaRestriction
Type:
object
Title:
Show Source
ServiceAreaRestriction
-
areas(optional):
array areas
-
description(optional):
string
-
maxNumOfTAs(optional):
number
-
name:
string
-
restrictionType(optional):
string
Allowed Values:
[ "ALLOWED_AREAS", "NOT_ALLOWED_AREAS" ]
Nested Schema : areas
Type:
Show Source
array
-
Array of:
object ServiceAreaRestrictionAreas
Title:
ServiceAreaRestrictionAreas
Nested Schema : ServiceAreaRestrictionAreas
Type:
object
Title:
Show Source
ServiceAreaRestrictionAreas
Response
Supported Media Types
- application/json
200 Response
OK. Resource representation is returned
Root Schema : ServiceAreaRestriction
Type:
object
Title:
Show Source
ServiceAreaRestriction
-
areas(optional):
array areas
-
description(optional):
string
-
maxNumOfTAs(optional):
number
-
name:
string
-
restrictionType(optional):
string
Allowed Values:
[ "ALLOWED_AREAS", "NOT_ALLOWED_AREAS" ]
Nested Schema : areas
Type:
Show Source
array
-
Array of:
object ServiceAreaRestrictionAreas
Title:
ServiceAreaRestrictionAreas
Nested Schema : ServiceAreaRestrictionAreas
Type:
object
Title:
Show Source
ServiceAreaRestrictionAreas
201 Response
Created
400 Response
Bad request
401 Response
Unauthorized
403 Response
Forbidden
404 Response
Not Found
429 Response
Too Many Requests
500 Response
Internal Server Error
503 Response
Service Unavailable