Create, Update, or Delete States of a Country
post
/api/CXIPlatformService/{version}/CXIReferenceEntity/country/{id}/child/state
Create, update or delete one ore more State records of a Country.
Request
Path Parameters
-
id(required): string
Value of resource id field. Example: US (for admin entity 'country')
-
version(required): string
API version. Example: v1
Supported Media Types
- application/json
Nested Schema : items
Type:
Show Source
object
-
data(required): object
state
-
operation(required): string
The field specifies the mode of operation. Supported operations: create,update or delete
Nested Schema : state
Type:
Show Source
object
-
cisValue(required): string
CIS value for State code.
-
faValue(required): string
FA value for State code.
-
id(required): string
Id of the State record.
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
The resource was updated successfully.
Nested Schema : state
Type:
Show Source
object
-
cisValue(required): string
CIS value for State code.
-
faValue(required): string
FA value for State code.
-
id(required): string
Id of the State record.
Examples
204 Response
The resource was updated successfully, but a failure in returning the updated resource back
400 Response
An error is encountered due to an invalid request
Root Schema : Error
Type:
Show Source
object
-
code: string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
500 Response
An internal server error is encountered, due to an unknown reason
Root Schema : Error
Type:
Show Source
object
-
code: string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension