POST api/companies/edit

Request Information

URI Parameters

None.

Body Parameters

SetCompanyDomain
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

ParentCompanyId

integer

None.

CompanyId

integer

None.

CompanyName

string

None.

Phone

string

None.

EMail

string

None.

IsParent

boolean

None.

DateTimeIn

date

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "userName": "sample string 1",
  "password": "sample string 2",
  "parentCompanyId": 1,
  "companyId": 1,
  "companyName": "sample string 3",
  "phone": "sample string 4",
  "eMail": "sample string 5",
  "isParent": true,
  "dateTimeIn": "2018-12-16T17:53:11.876394Z"
}

application/xml, text/xml

Sample:
<SetCompanyDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RideSafely.Domain.RSBidding">
  <CompanyId>1</CompanyId>
  <CompanyName>sample string 3</CompanyName>
  <DateTimeIn>2018-12-16T12:53:11.876394-05:00</DateTimeIn>
  <EMail>sample string 5</EMail>
  <IsParent>true</IsParent>
  <ParentCompanyId>1</ParentCompanyId>
  <Phone>sample string 4</Phone>
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</SetCompanyDomain>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>