POST api/{area}/Organize/SaveCompanyAuth

Request Information

URI Parameters

NameDescriptionTypeAdditional information
area

string

None.

Body Parameters

CompanySaveAuth
NameDescriptionTypeAdditional information
Token

string

None.

OrganizeId

string

None.

MachineCode

string

None.

AuthCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "OrganizeId": "sample string 2",
  "MachineCode": "sample string 3",
  "AuthCode": "sample string 4"
}

application/xml, text/xml

Sample:
<CompanySaveAuth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProBIM.Application.Entity.NewAPI.Admin">
  <AuthCode>sample string 4</AuthCode>
  <MachineCode>sample string 3</MachineCode>
  <OrganizeId>sample string 2</OrganizeId>
  <Token>sample string 1</Token>
</CompanySaveAuth>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.