POST api/JobPosts/SearchCompanyList

Request Information

URI Parameters

None.

Body Parameters

CompanyData
NameDescriptionTypeAdditional information
SearchString

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchString": "sample string 1"
}

application/xml, text/xml

Sample:
<CompanyData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models">
  <SearchString>sample string 1</SearchString>
</CompanyData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CompanyNameListViewModel
NameDescriptionTypeAdditional information
CompanyList

Collection of string

None.

IsCallSuccessful

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CompanyList": [
    "sample string 1",
    "sample string 2"
  ],
  "IsCallSuccessful": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CompanyNameListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models">
  <IsCallSuccessful>true</IsCallSuccessful>
  <Message>sample string 2</Message>
  <CompanyList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CompanyList>
</CompanyNameListViewModel>