GET api/Corporation/GetContractorCorporation?q={q}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfContractorCorporationDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | Collection of ContractorCorporationDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": [ { "Id": 1, "OwnerCorporationCode": "sample string 2", "ContractorCorporationCode": "sample string 3", "OwnerCorporationName": "sample string 4", "ContractorCorporationName": "sample string 5" }, { "Id": 1, "OwnerCorporationCode": "sample string 2", "ContractorCorporationCode": "sample string 3", "OwnerCorporationName": "sample string 4", "ContractorCorporationName": "sample string 5" } ], "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfContractorCorporationDTO9DQd0Pqc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common"> <isSuccess>true</isSuccess> <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO"> <d2p1:ContractorCorporationDTO> <d2p1:ContractorCorporationCode>sample string 3</d2p1:ContractorCorporationCode> <d2p1:ContractorCorporationName>sample string 5</d2p1:ContractorCorporationName> <d2p1:Id>1</d2p1:Id> <d2p1:OwnerCorporationCode>sample string 2</d2p1:OwnerCorporationCode> <d2p1:OwnerCorporationName>sample string 4</d2p1:OwnerCorporationName> </d2p1:ContractorCorporationDTO> <d2p1:ContractorCorporationDTO> <d2p1:ContractorCorporationCode>sample string 3</d2p1:ContractorCorporationCode> <d2p1:ContractorCorporationName>sample string 5</d2p1:ContractorCorporationName> <d2p1:Id>1</d2p1:Id> <d2p1:OwnerCorporationCode>sample string 2</d2p1:OwnerCorporationCode> <d2p1:OwnerCorporationName>sample string 4</d2p1:OwnerCorporationName> </d2p1:ContractorCorporationDTO> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfArrayOfContractorCorporationDTO9DQd0Pqc>