PUT api/Country/Update
Request Information
URI Parameters
None.
Body Parameters
CountryUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| WebSiteID | globally unique identifier |
None. |
|
| countryLanguages | Collection of CountryLanguageUpdateDto |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"webSiteID": "fb119db1-193d-45dd-8323-47d7f544a5e1",
"countryLanguages": [
{
"countryID": "b49319fb-9cc7-45e0-aa0b-9cb832063ff2",
"languageID": "984a17ed-64c6-4007-a4cd-72e27eecbbf5",
"country": "sample string 3",
"id": "e2f5d7d1-79c2-4f31-8926-918a8c294bda"
},
{
"countryID": "b49319fb-9cc7-45e0-aa0b-9cb832063ff2",
"languageID": "984a17ed-64c6-4007-a4cd-72e27eecbbf5",
"country": "sample string 3",
"id": "e2f5d7d1-79c2-4f31-8926-918a8c294bda"
}
],
"id": "67d6900a-f28e-47d2-b544-d637e8ee012c"
}
application/xml, text/xml
Sample:
<CountryUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
<ID>67d6900a-f28e-47d2-b544-d637e8ee012c</ID>
<WebSiteID>fb119db1-193d-45dd-8323-47d7f544a5e1</WebSiteID>
<countryLanguages>
<CountryLanguageUpdateDto>
<ID>e2f5d7d1-79c2-4f31-8926-918a8c294bda</ID>
<Country>sample string 3</Country>
<CountryID>b49319fb-9cc7-45e0-aa0b-9cb832063ff2</CountryID>
<LanguageID>984a17ed-64c6-4007-a4cd-72e27eecbbf5</LanguageID>
</CountryLanguageUpdateDto>
<CountryLanguageUpdateDto>
<ID>e2f5d7d1-79c2-4f31-8926-918a8c294bda</ID>
<Country>sample string 3</Country>
<CountryID>b49319fb-9cc7-45e0-aa0b-9cb832063ff2</CountryID>
<LanguageID>984a17ed-64c6-4007-a4cd-72e27eecbbf5</LanguageID>
</CountryLanguageUpdateDto>
</countryLanguages>
</CountryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"WebSiteID":"fb119db1-193d-45dd-8323-47d7f544a5e1","countryLanguages":[{"CountryID":"b49319fb-9cc7-45e0-aa0b-9cb832063ff2","LanguageID":"984a17ed-64c6-4007-a4cd-72e27eecbbf5","Country":"sample string 3","ID":"e2f5d7d1-79c2-4f31-8926-918a8c294bda"},{"CountryID":"b49319fb-9cc7-45e0-aa0b-9cb832063ff2","LanguageID":"984a17ed-64c6-4007-a4cd-72e27eecbbf5","Country":"sample string 3","ID":"e2f5d7d1-79c2-4f31-8926-918a8c294bda"}],"ID":"67d6900a-f28e-47d2-b544-d637e8ee012c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.