POST api/setup/institution/create

Request Information

URI Parameters

None.

Body Parameters

RecInstitutionsDTOW
NameDescriptionTypeAdditional information
institution_code

string

Max length: 100

description

string

Required

Max length: 100

institution_type

integer

Required

rating

integer

None.

country

string

None.

city

string

None.

Request Formats

application/json, text/json

Sample:
{
  "institution_code": "sample string 1",
  "description": "sample string 2",
  "institution_type": 3,
  "rating": 1,
  "country": "sample string 4",
  "city": "sample string 5"
}

application/xml, text/xml

Sample:
<RecInstitutionsDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable">
  <city>sample string 5</city>
  <country>sample string 4</country>
  <description>sample string 2</description>
  <institution_code>sample string 1</institution_code>
  <institution_type>3</institution_type>
  <rating>1</rating>
</RecInstitutionsDTOW>

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 'RecInstitutionsDTOW'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.