POST api/CountryManagement/SaveCountryRule

Request Information

URI Parameters

None.

Body Parameters

CountryServiceRulesData
NameDescriptionTypeAdditional information
CountryRoleViewId

integer

None.

CountryId

string

None.

RoleViewDetails

string

None.

CountryLogo

string

None.

CountryIcon

string

None.

Status

boolean

None.

IsServiceAvailable

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

CountryName

string

None.

English

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "countryRoleViewId": 1,
  "countryId": "sample string 2",
  "roleViewDetails": "sample string 3",
  "countryLogo": "sample string 4",
  "countryIcon": "sample string 5",
  "status": true,
  "isServiceAvailable": true,
  "createdDate": "2025-05-08T02:45:19.6967014-07:00",
  "createdBy": 1,
  "updatedDate": "2025-05-08T02:45:19.6967014-07:00",
  "updatedBy": 1,
  "countryName": "sample string 8",
  "english": {}
}

multipart/form-data, application/octet-stream

Sample:
{"countryRoleViewId":1,"countryId":"sample string 2","roleViewDetails":"sample string 3","countryLogo":"sample string 4","countryIcon":"sample string 5","status":true,"isServiceAvailable":true,"createdDate":"2025-05-08T02:45:19.6967014-07:00","createdBy":1,"updatedDate":"2025-05-08T02:45:19.6967014-07:00","updatedBy":1,"countryName":"sample string 8","english":{}}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResult
NameDescriptionTypeAdditional information
Result

Object

None.

Msg

Object

None.

token

Object

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {},
  "msg": {},
  "token": {},
  "data": {}
}

multipart/form-data, application/octet-stream

Sample:
{"result":{},"msg":{},"token":{},"data":{}}