POST api/Country/PutBranchMaster

Request Information

URI Parameters

None.

Body Parameters

CountryMaster
NameDescriptionTypeAdditional information
CountryId

integer

None.

CountryName

string

None.

CountryDesc

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryId": 1,
  "CountryName": "sample string 2",
  "CountryDesc": "sample string 3",
  "CreatedBy": "sample string 4",
  "CreatedOn": "2026-07-31T15:19:54.7349723-07:00",
  "ModifiedBy": "sample string 5",
  "ModifiedOn": "2026-07-31T15:19:54.7349723-07:00"
}

application/xml, text/xml

Sample:
<CountryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.DAL.DataModel">
  <CountryDesc>sample string 3</CountryDesc>
  <CountryId>1</CountryId>
  <CountryName>sample string 2</CountryName>
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedOn>2026-07-31T15:19:54.7349723-07:00</CreatedOn>
  <ModifiedBy>sample string 5</ModifiedBy>
  <ModifiedOn>2026-07-31T15:19:54.7349723-07:00</ModifiedOn>
</CountryMaster>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CountryMaster'.

Response Information

Resource Description

None.