GET v1/company/{companyId}/contacts?Type={Type}&Start={Start}&Count={Count}&Search={Search}
Get contacts for a company
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyId |
Company id |
decimal number |
Required |
Type |
Contact type (Customer/Supplier) |
string |
None. |
Start |
How many record wants to skip |
integer |
None. |
Count |
How many record wants to retrieve |
integer |
None. |
Search |
Filter the result set |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResponseListOfAppContactMasterName | Description | Type | Additional information |
---|---|---|---|
Count | integer |
None. |
|
Result | Collection of AppContactMaster |
None. |
|
Status | boolean |
None. |
|
Message | string |
None. |
|
Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{ "Count": 1, "Result": [ { "Id": 1.0, "ContactType": "sample string 2", "Name": "sample string 3", "CountryName": "sample string 4", "EMail": "sample string 5" }, { "Id": 1.0, "ContactType": "sample string 2", "Name": "sample string 3", "CountryName": "sample string 4", "EMail": "sample string 5" } ], "Status": true, "Message": "sample string 3", "Errors": [ { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }, { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } ] }