PATCH Api/Country/{id}
URI Example
PATCH Api/Country/{id}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
CountryBinding
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
Required Matching regular expression pattern: /^.{2}$/ |
|
| Name | string |
Required |
|
| MapPolygon | string |
None. |
|
| Inactive | boolean |
None. |
Request Formats
application/json, text/json, application/hal+json
-
{ "id": "sample string 1", "name": "sample string 2", "mapPolygon": "sample string 3", "inactive": true }
Resource Description
CountryResource
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Name | string |
None. |
|
| MapPolygon | string |
None. |
|
| Inactive | boolean |
None. |
|
| _links | Dictionary of string [key] and Link [value] |
None. |
|
| _embedded | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json, application/hal+json
-
{ "_links": { "sample string 1": { "href": "sample string 1", "method": "sample string 2", "rel": [ "sample string 1", "sample string 2" ] }, "sample string 2": { "href": "sample string 1", "method": "sample string 2", "rel": [ "sample string 1", "sample string 2" ] } }, "id": "sample string 1", "name": "sample string 2", "mapPolygon": "sample string 3", "inactive": true, "_embedded": { "sample string 1": {}, "sample string 3": {} } }