GET api/GlobalSearch?SearchText={SearchText}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchText | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GlobalSearchResponseDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchText | string |
None. |
|
| Collections | Collection of CollectionGlobalSearchDataModel |
None. |
|
| Products | Collection of ProductGlobalSearchDataModel |
None. |
|
| Customers | Collection of CustomerGlobalSearchDataModel |
None. |
|
| ReturnID | integer |
Required |
|
| Message | string |
Required |
|
| Successful | boolean |
Required |
|
| Code | integer |
None. |
|
| TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"searchText": "sample string 1",
"collections": [
{
"collectionID": 1,
"collectionName": "sample string 2",
"collectionType": "sample string 3",
"blockchainNetwork": "sample string 4",
"chainName": "sample string 5",
"chainLabel": "sample string 6",
"description": "sample string 7"
},
{
"collectionID": 1,
"collectionName": "sample string 2",
"collectionType": "sample string 3",
"blockchainNetwork": "sample string 4",
"chainName": "sample string 5",
"chainLabel": "sample string 6",
"description": "sample string 7"
}
],
"products": [
{
"productID": 1,
"productName": "sample string 2",
"collectionName": "sample string 3",
"productTypeName": "sample string 4",
"priceType": "sample string 5",
"quantity": 6.0,
"network": "sample string 7",
"chainName": "sample string 8",
"chainLabel": "sample string 9",
"description": "sample string 10"
},
{
"productID": 1,
"productName": "sample string 2",
"collectionName": "sample string 3",
"productTypeName": "sample string 4",
"priceType": "sample string 5",
"quantity": 6.0,
"network": "sample string 7",
"chainName": "sample string 8",
"chainLabel": "sample string 9",
"description": "sample string 10"
}
],
"customers": [
{
"customerID": 1,
"customerCode": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"cryptoAddress": "sample string 5",
"emailID": "sample string 6",
"phoneNo": "sample string 7",
"description": "sample string 8"
},
{
"customerID": 1,
"customerCode": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"cryptoAddress": "sample string 5",
"emailID": "sample string 6",
"phoneNo": "sample string 7",
"description": "sample string 8"
}
],
"returnID": 2,
"message": "sample string 3",
"successful": true,
"code": 5,
"totalRecord": 6
}
application/xml, text/xml
Sample:
<GlobalSearchResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel">
<Code xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">5</Code>
<Message xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">sample string 3</Message>
<ReturnID xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">2</ReturnID>
<Successful xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">true</Successful>
<TotalRecord xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">6</TotalRecord>
<Collections>
<CollectionGlobalSearchDataModel>
<BlockchainNetwork>sample string 4</BlockchainNetwork>
<ChainLabel>sample string 6</ChainLabel>
<ChainName>sample string 5</ChainName>
<CollectionID>1</CollectionID>
<CollectionName>sample string 2</CollectionName>
<CollectionType>sample string 3</CollectionType>
<Description>sample string 7</Description>
</CollectionGlobalSearchDataModel>
<CollectionGlobalSearchDataModel>
<BlockchainNetwork>sample string 4</BlockchainNetwork>
<ChainLabel>sample string 6</ChainLabel>
<ChainName>sample string 5</ChainName>
<CollectionID>1</CollectionID>
<CollectionName>sample string 2</CollectionName>
<CollectionType>sample string 3</CollectionType>
<Description>sample string 7</Description>
</CollectionGlobalSearchDataModel>
</Collections>
<Customers>
<CustomerGlobalSearchDataModel>
<CryptoAddress>sample string 5</CryptoAddress>
<CustomerCode>sample string 2</CustomerCode>
<CustomerID>1</CustomerID>
<Description>sample string 8</Description>
<EmailID>sample string 6</EmailID>
<FirstName>sample string 3</FirstName>
<LastName>sample string 4</LastName>
<PhoneNo>sample string 7</PhoneNo>
</CustomerGlobalSearchDataModel>
<CustomerGlobalSearchDataModel>
<CryptoAddress>sample string 5</CryptoAddress>
<CustomerCode>sample string 2</CustomerCode>
<CustomerID>1</CustomerID>
<Description>sample string 8</Description>
<EmailID>sample string 6</EmailID>
<FirstName>sample string 3</FirstName>
<LastName>sample string 4</LastName>
<PhoneNo>sample string 7</PhoneNo>
</CustomerGlobalSearchDataModel>
</Customers>
<Products>
<ProductGlobalSearchDataModel>
<ChainLabel>sample string 9</ChainLabel>
<ChainName>sample string 8</ChainName>
<CollectionName>sample string 3</CollectionName>
<Description>sample string 10</Description>
<Network>sample string 7</Network>
<PriceType>sample string 5</PriceType>
<ProductID>1</ProductID>
<ProductName>sample string 2</ProductName>
<ProductTypeName>sample string 4</ProductTypeName>
<Quantity>6</Quantity>
</ProductGlobalSearchDataModel>
<ProductGlobalSearchDataModel>
<ChainLabel>sample string 9</ChainLabel>
<ChainName>sample string 8</ChainName>
<CollectionName>sample string 3</CollectionName>
<Description>sample string 10</Description>
<Network>sample string 7</Network>
<PriceType>sample string 5</PriceType>
<ProductID>1</ProductID>
<ProductName>sample string 2</ProductName>
<ProductTypeName>sample string 4</ProductTypeName>
<Quantity>6</Quantity>
</ProductGlobalSearchDataModel>
</Products>
<SearchText>sample string 1</SearchText>
</GlobalSearchResponseDataModel>
multipart/form-data
Sample:
<GlobalSearchResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">5</Code><Message xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">sample string 3</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">2</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">6</TotalRecord><Collections><CollectionGlobalSearchDataModel><BlockchainNetwork>sample string 4</BlockchainNetwork><ChainLabel>sample string 6</ChainLabel><ChainName>sample string 5</ChainName><CollectionID>1</CollectionID><CollectionName>sample string 2</CollectionName><CollectionType>sample string 3</CollectionType><Description>sample string 7</Description></CollectionGlobalSearchDataModel><CollectionGlobalSearchDataModel><BlockchainNetwork>sample string 4</BlockchainNetwork><ChainLabel>sample string 6</ChainLabel><ChainName>sample string 5</ChainName><CollectionID>1</CollectionID><CollectionName>sample string 2</CollectionName><CollectionType>sample string 3</CollectionType><Description>sample string 7</Description></CollectionGlobalSearchDataModel></Collections><Customers><CustomerGlobalSearchDataModel><CryptoAddress>sample string 5</CryptoAddress><CustomerCode>sample string 2</CustomerCode><CustomerID>1</CustomerID><Description>sample string 8</Description><EmailID>sample string 6</EmailID><FirstName>sample string 3</FirstName><LastName>sample string 4</LastName><PhoneNo>sample string 7</PhoneNo></CustomerGlobalSearchDataModel><CustomerGlobalSearchDataModel><CryptoAddress>sample string 5</CryptoAddress><CustomerCode>sample string 2</CustomerCode><CustomerID>1</CustomerID><Description>sample string 8</Description><EmailID>sample string 6</EmailID><FirstName>sample string 3</FirstName><LastName>sample string 4</LastName><PhoneNo>sample string 7</PhoneNo></CustomerGlobalSearchDataModel></Customers><Products><ProductGlobalSearchDataModel><ChainLabel>sample string 9</ChainLabel><ChainName>sample string 8</ChainName><CollectionName>sample string 3</CollectionName><Description>sample string 10</Description><Network>sample string 7</Network><PriceType>sample string 5</PriceType><ProductID>1</ProductID><ProductName>sample string 2</ProductName><ProductTypeName>sample string 4</ProductTypeName><Quantity>6</Quantity></ProductGlobalSearchDataModel><ProductGlobalSearchDataModel><ChainLabel>sample string 9</ChainLabel><ChainName>sample string 8</ChainName><CollectionName>sample string 3</CollectionName><Description>sample string 10</Description><Network>sample string 7</Network><PriceType>sample string 5</PriceType><ProductID>1</ProductID><ProductName>sample string 2</ProductName><ProductTypeName>sample string 4</ProductTypeName><Quantity>6</Quantity></ProductGlobalSearchDataModel></Products><SearchText>sample string 1</SearchText></GlobalSearchResponseDataModel>