PUT api/Ebits/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

InsuranceCompany
NameDescriptionTypeAdditional information
code

string

None.

name

string

None.

shortname

string

None.

email

string

None.

Address

string

None.

Contactno

string

None.

Country

string

None.

City

string

None.

VATRegistration

string

None.

VATRegisteredCompany

string

None.

VATRegisteredAddress

string

None.

VATRegisteredEmirates

string

None.

CityCode

string

None.

CountryCode

string

None.

Nationality

string

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "name": "sample string 2",
  "shortname": "sample string 3",
  "email": "sample string 4",
  "Address": "sample string 5",
  "Contactno": "sample string 6",
  "Country": "sample string 7",
  "City": "sample string 8",
  "VATRegistration": "sample string 9",
  "VATRegisteredCompany": "sample string 10",
  "VATRegisteredAddress": "sample string 11",
  "VATRegisteredEmirates": "sample string 12",
  "CityCode": "sample string 13",
  "CountryCode": "sample string 14",
  "Nationality": "sample string 15"
}

application/xml, text/xml

Sample:
<InsuranceCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiPromenna.Models">
  <Address>sample string 5</Address>
  <City>sample string 8</City>
  <CityCode>sample string 13</CityCode>
  <Contactno>sample string 6</Contactno>
  <Country>sample string 7</Country>
  <CountryCode>sample string 14</CountryCode>
  <Nationality>sample string 15</Nationality>
  <VATRegisteredAddress>sample string 11</VATRegisteredAddress>
  <VATRegisteredCompany>sample string 10</VATRegisteredCompany>
  <VATRegisteredEmirates>sample string 12</VATRegisteredEmirates>
  <VATRegistration>sample string 9</VATRegistration>
  <code>sample string 1</code>
  <email>sample string 4</email>
  <name>sample string 2</name>
  <shortname>sample string 3</shortname>
</InsuranceCompany>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.