POST api/MainWizard/EditOrganizationInfo

Request Information

URI Parameters

None.

Body Parameters

MainOrganisationinfo
NameDescriptionTypeAdditional information
Id

integer

None.

organisationname

string

None.

employee_code

string

None.

org_image

string

None.

domain

string

None.

website

string

None.

orgdescription

string

None.

totalemployees

integer

None.

registration_number

string

None.

org_startdate

date

None.

phonenumber

string

None.

secondaryphone

string

None.

email

string

None.

secondaryemail

string

None.

faxnumber

string

None.

CountryId

integer

None.

StateId

integer

None.

CityId

integer

None.

address1

string

None.

address2

string

None.

address3

string

None.

description

string

None.

orghead

string

None.

designation

string

None.

createdby

integer

None.

modifiedby

integer

None.

createddate

date

None.

modifieddate

date

None.

zipcode

string

None.

StatusMessage

string

None.

useremail

string

None.

isactive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "organisationname": "sample string 2",
  "employee_code": "sample string 3",
  "org_image": "sample string 4",
  "domain": "sample string 5",
  "website": "sample string 6",
  "orgdescription": "sample string 7",
  "totalemployees": 1,
  "registration_number": "sample string 8",
  "org_startdate": "2019-06-18T00:47:12.205-04:00",
  "phonenumber": "sample string 9",
  "secondaryphone": "sample string 10",
  "email": "sample string 11",
  "secondaryemail": "sample string 12",
  "faxnumber": "sample string 13",
  "CountryId": 1,
  "StateId": 1,
  "CityId": 1,
  "address1": "sample string 14",
  "address2": "sample string 15",
  "address3": "sample string 16",
  "description": "sample string 17",
  "orghead": "sample string 18",
  "designation": "sample string 19",
  "createdby": 1,
  "modifiedby": 1,
  "createddate": "2019-06-18T00:47:12.205-04:00",
  "modifieddate": "2019-06-18T00:47:12.205-04:00",
  "zipcode": "sample string 20",
  "StatusMessage": "sample string 21",
  "useremail": "sample string 22",
  "isactive": true
}

text/html

Sample:
{"Id":1,"organisationname":"sample string 2","employee_code":"sample string 3","org_image":"sample string 4","domain":"sample string 5","website":"sample string 6","orgdescription":"sample string 7","totalemployees":1,"registration_number":"sample string 8","org_startdate":"2019-06-18T00:47:12.205-04:00","phonenumber":"sample string 9","secondaryphone":"sample string 10","email":"sample string 11","secondaryemail":"sample string 12","faxnumber":"sample string 13","CountryId":1,"StateId":1,"CityId":1,"address1":"sample string 14","address2":"sample string 15","address3":"sample string 16","description":"sample string 17","orghead":"sample string 18","designation":"sample string 19","createdby":1,"modifiedby":1,"createddate":"2019-06-18T00:47:12.205-04:00","modifieddate":"2019-06-18T00:47:12.205-04:00","zipcode":"sample string 20","StatusMessage":"sample string 21","useremail":"sample string 22","isactive":true}

application/xml, text/xml

Sample:
<MainOrganisationinfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RtsDb.Service.Models.MainWizards">
  <CityId>1</CityId>
  <CountryId>1</CountryId>
  <Id>1</Id>
  <StateId>1</StateId>
  <StatusMessage>sample string 21</StatusMessage>
  <address1>sample string 14</address1>
  <address2>sample string 15</address2>
  <address3>sample string 16</address3>
  <createdby>1</createdby>
  <createddate>2019-06-18T00:47:12.205-04:00</createddate>
  <description>sample string 17</description>
  <designation>sample string 19</designation>
  <domain>sample string 5</domain>
  <email>sample string 11</email>
  <employee_code>sample string 3</employee_code>
  <faxnumber>sample string 13</faxnumber>
  <isactive>true</isactive>
  <modifiedby>1</modifiedby>
  <modifieddate>2019-06-18T00:47:12.205-04:00</modifieddate>
  <org_image>sample string 4</org_image>
  <org_startdate>2019-06-18T00:47:12.205-04:00</org_startdate>
  <organisationname>sample string 2</organisationname>
  <orgdescription>sample string 7</orgdescription>
  <orghead>sample string 18</orghead>
  <phonenumber>sample string 9</phonenumber>
  <registration_number>sample string 8</registration_number>
  <secondaryemail>sample string 12</secondaryemail>
  <secondaryphone>sample string 10</secondaryphone>
  <totalemployees>1</totalemployees>
  <useremail>sample string 22</useremail>
  <website>sample string 6</website>
  <zipcode>sample string 20</zipcode>
</MainOrganisationinfo>

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

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.