POST api/Company/GetParentCompany

Request Information

URI Parameters

None.

Body Parameters

GetCompany
NameDescriptionTypeAdditional information
CP_ID

integer

None.

CP_CODE

string

None.

CP_NAME

string

None.

CP_BUSINESS

string

None.

CP_TYPE

string

None.

CP_PT_ID

integer

None.

CP_CT_ID

integer

None.

CP_STATUS

string

None.

START

integer

None.

LENGTH

integer

None.

CP_REQUESTED_BY

integer

None.

CT_ID

integer

None.

STATUS

string

None.

RESULT

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CP_ID": 1,
  "CP_CODE": "sample string 1",
  "CP_NAME": "sample string 2",
  "CP_BUSINESS": "sample string 3",
  "CP_TYPE": "sample string 4",
  "CP_PT_ID": 1,
  "CP_CT_ID": 1,
  "CP_STATUS": "sample string 5",
  "START": 1,
  "LENGTH": 1,
  "CP_REQUESTED_BY": 1,
  "CT_ID": 1,
  "STATUS": "sample string 6",
  "RESULT": "sample string 7"
}

application/xml, text/xml

Sample:
<GetCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CP_BUSINESS>sample string 3</CP_BUSINESS>
  <CP_CODE>sample string 1</CP_CODE>
  <CP_CT_ID>1</CP_CT_ID>
  <CP_ID>1</CP_ID>
  <CP_NAME>sample string 2</CP_NAME>
  <CP_PT_ID>1</CP_PT_ID>
  <CP_REQUESTED_BY>1</CP_REQUESTED_BY>
  <CP_STATUS>sample string 5</CP_STATUS>
  <CP_TYPE>sample string 4</CP_TYPE>
  <CT_ID>1</CT_ID>
  <LENGTH>1</LENGTH>
  <RESULT>sample string 7</RESULT>
  <START>1</START>
  <STATUS>sample string 6</STATUS>
</GetCompany>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.