Create, update or delete Country
post
/api/CXIPlatformService/{version}/CXIReferenceEntity/country
Create, update or delete one ore more Country records.
Request
Path Parameters
-
version(required): string
API version. Example: v1
Supported Media Types
- application/json
Nested Schema : items
Type:
Show Source
object
-
data(required): object
country
-
operation(required): string
The field specifies the mode of operation. Supported operations: create,update or delete
Nested Schema : country
Type:
Show Source
object
-
cisValue(required): string
CIS value for Country code.
-
faValue(required): string
FA value for Country code.
-
id(required): string
Id of the Country record.
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
The resource was updated successfully.
Nested Schema : country
Type:
Show Source
object
-
cisValue(required): string
CIS value for Country code.
-
faValue(required): string
FA value for Country code.
-
id(required): string
Id of the Country 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