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:
object
Title:
Show Source
ServiceAreaRestrictionIEDataReq
Nested Schema : exportData
Type:
Show Source
array
-
Array of:
object ServiceAreaRestriction
Title:
ServiceAreaRestriction
Nested 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/problem+json
200 Response
OK
Root Schema : schema
Type:
object
201 Response
Imported
Root Schema : ServiceAreaRestrictionIEDataRes
Type:
object
Title:
Show Source
ServiceAreaRestrictionIEDataRes
Nested Schema : exportData
Type:
Show Source
array
-
Array of:
object ServiceAreaRestriction
Title:
ServiceAreaRestriction
Nested 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
400 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