PUT api/Country/{index}/{rows}/{field}/{order}
Updates countries a Fellow is associated with.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
index | string |
None. |
|
rows | string |
None. |
|
field | string |
None. |
|
order | string |
None. |
Body Parameters
Fully populated BaseCollection object.
BaseCollectionOfCountryName | Description | Type | Additional information |
---|---|---|---|
Collection | Collection of Country |
Required |
|
ContactId | integer |
Required |
|
Pcode | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Collection": [ { "Name": "sample string 1", "Ordinal": 1, "Id": 2, "LastUpdatedTimestamp": "2024-04-19T07:30:39.8342869+01:00" }, { "Name": "sample string 1", "Ordinal": 1, "Id": 2, "LastUpdatedTimestamp": "2024-04-19T07:30:39.8342869+01:00" } ], "ContactId": 1, "Pcode": "sample string 2" }
text/xml
Sample:
<BaseCollectionOfCountryxMFpOuYO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core"> <Collection xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataLayer2.Models"> <d2p1:Country> <Id>2</Id> <LastUpdatedTimestamp>2024-04-19T07:30:39.8342869+01:00</LastUpdatedTimestamp> <Ordinal>1</Ordinal> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Country> <d2p1:Country> <Id>2</Id> <LastUpdatedTimestamp>2024-04-19T07:30:39.8342869+01:00</LastUpdatedTimestamp> <Ordinal>1</Ordinal> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Country> </Collection> <ContactId>1</ContactId> <Pcode>sample string 2</Pcode> </BaseCollectionOfCountryxMFpOuYO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |