GET api/NTCosCompany/GetCorporationMCR?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfCorporationMCRDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CorporationMCRDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "CorporationCode": "sample string 2",
      "WorkLocationCode": "sample string 3",
      "WorkLocationName": "sample string 4",
      "WorkLocationShortName": "sample string 5",
      "Radius": 1.1,
      "IsSelected": true,
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Address1": "sample string 7",
      "Suite": "sample string 8",
      "City": "sample string 9",
      "State": "sample string 10",
      "Country": "sample string 11",
      "Zip": "sample string 12",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:33:36.6419449-07:00",
      "DateUpdated": "2025-04-03T19:33:36.6419449-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "CorporationCode": "sample string 2",
      "WorkLocationCode": "sample string 3",
      "WorkLocationName": "sample string 4",
      "WorkLocationShortName": "sample string 5",
      "Radius": 1.1,
      "IsSelected": true,
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Address1": "sample string 7",
      "Suite": "sample string 8",
      "City": "sample string 9",
      "State": "sample string 10",
      "Country": "sample string 11",
      "Zip": "sample string 12",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:33:36.6419449-07:00",
      "DateUpdated": "2025-04-03T19:33:36.6419449-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfCorporationMCRDTO3NYuOdgi 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.BL">
    <d2p1:CorporationMCRDTO>
      <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
      <d2p1:DateCreated>2025-04-03T19:33:36.6419449-07:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2025-04-03T19:33:36.6419449-07:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Address1>sample string 7</d2p1:Address1>
      <d2p1:City>sample string 9</d2p1:City>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:Country>sample string 11</d2p1:Country>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Radius>1.1</d2p1:Radius>
      <d2p1:State>sample string 10</d2p1:State>
      <d2p1:Suite>sample string 8</d2p1:Suite>
      <d2p1:WorkLocationCode>sample string 3</d2p1:WorkLocationCode>
      <d2p1:WorkLocationName>sample string 4</d2p1:WorkLocationName>
      <d2p1:WorkLocationShortName>sample string 5</d2p1:WorkLocationShortName>
      <d2p1:Zip>sample string 12</d2p1:Zip>
    </d2p1:CorporationMCRDTO>
    <d2p1:CorporationMCRDTO>
      <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
      <d2p1:DateCreated>2025-04-03T19:33:36.6419449-07:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2025-04-03T19:33:36.6419449-07:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Address1>sample string 7</d2p1:Address1>
      <d2p1:City>sample string 9</d2p1:City>
      <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
      <d2p1:Country>sample string 11</d2p1:Country>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Radius>1.1</d2p1:Radius>
      <d2p1:State>sample string 10</d2p1:State>
      <d2p1:Suite>sample string 8</d2p1:Suite>
      <d2p1:WorkLocationCode>sample string 3</d2p1:WorkLocationCode>
      <d2p1:WorkLocationName>sample string 4</d2p1:WorkLocationName>
      <d2p1:WorkLocationShortName>sample string 5</d2p1:WorkLocationShortName>
      <d2p1:Zip>sample string 12</d2p1:Zip>
    </d2p1:CorporationMCRDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCorporationMCRDTO3NYuOdgi>