Import all Service Area Restrictions
post
ss/oc-cnpolicy-configuration/v1/policydata/pcfam/servicearearestrictions/import
Request
Supported Media Types
- application/json
Query Parameters
-
action(optional): string
ActionAllowed Values:
[ "ignore", "replace" ]
body
Root Schema : ServiceAreaRestrictionIEDataReq
Type:
objectTitle:
Show Source
ServiceAreaRestrictionIEDataReqNested Schema : exportData
Type:
Show Source
array-
Array of:
object ServiceAreaRestriction
Title:
ServiceAreaRestriction
Nested Schema : ServiceAreaRestriction
Type:
objectTitle:
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:
objectTitle:
Show Source
ServiceAreaRestrictionAreasResponse
Supported Media Types
- application/problem+json
200 Response
OK
Root Schema : schema
Type:
object201 Response
Imported
Root Schema : ServiceAreaRestrictionIEDataRes
Type:
objectTitle:
Show Source
ServiceAreaRestrictionIEDataResNested Schema : exportData
Type:
Show Source
array-
Array of:
object ServiceAreaRestriction
Title:
ServiceAreaRestriction
Nested Schema : ServiceAreaRestriction
Type:
objectTitle:
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:
objectTitle:
Show Source
ServiceAreaRestrictionAreas400 Response
Bad request
401 Response
Unauthorized
403 Response
Forbidden
404 Response
Not Found
405 Response
Method Not Allowed
406 Response
Not Acceptable
408 Response
Request Timeout
409 Response
Conflict
412 Response
Precondition Failed
500 Response
Internal Server Error
503 Response
Service Unavailable
504 Response
Gateway Timeout