GET api/Customers?search={search}&isDeleted={isDeleted}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
search

string

None.

isDeleted

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReportCustomerDto
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

CustomerName

string

None.

CustomerRefNr

string

None.

Website

string

None.

ContactPerson

string

None.

ContactPersonJobPosition

string

None.

EMailAddress

string

None.

PostalAddress

string

None.

PhoneNumber

string

None.

FaxNumber

string

None.

MobileNumber

string

None.

Notes

string

None.

VatRegNo

string

None.

IsCustomerDeleted

boolean

None.

CustomerCode

string

None.

CreatedBy

globally unique identifier

None.

Created

date

None.

LastUpdateBy

globally unique identifier

None.

LastUpdate

date

None.

CreatedByUser

string

None.

LastUpdateByUser

string

None.

Id

globally unique identifier

None.

IsNew

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "CustomerId": "35848a20-187b-487f-acf5-0ff498f7825c",
    "CustomerName": "sample string 2",
    "CustomerRefNr": "sample string 3",
    "Website": "sample string 4",
    "ContactPerson": "sample string 5",
    "ContactPersonJobPosition": "sample string 6",
    "EMailAddress": "sample string 7",
    "PostalAddress": "sample string 8",
    "PhoneNumber": "sample string 9",
    "FaxNumber": "sample string 10",
    "MobileNumber": "sample string 11",
    "Notes": "sample string 12",
    "VatRegNo": "sample string 13",
    "IsCustomerDeleted": true,
    "CustomerCode": "sample string 15",
    "CreatedBy": "3d0688c0-0d58-498d-95ac-3e93aac9dd88",
    "Created": "2025-04-27T23:18:51.1678384+02:00",
    "LastUpdateBy": "def5b73a-a973-449b-b997-4f13a9783106",
    "LastUpdate": "2025-04-27T23:18:51.1678384+02:00",
    "CreatedByUser": "sample string 20",
    "LastUpdateByUser": "sample string 21",
    "Id": "0ff3cd6f-6ff0-4e8a-b073-a69e15c72bcc",
    "IsNew": true
  }
]

text/html

Sample:
[null,{"$id":"1","CustomerId":"35848a20-187b-487f-acf5-0ff498f7825c","CustomerName":"sample string 2","CustomerRefNr":"sample string 3","Website":"sample string 4","ContactPerson":"sample string 5","ContactPersonJobPosition":"sample string 6","EMailAddress":"sample string 7","PostalAddress":"sample string 8","PhoneNumber":"sample string 9","FaxNumber":"sample string 10","MobileNumber":"sample string 11","Notes":"sample string 12","VatRegNo":"sample string 13","IsCustomerDeleted":true,"CustomerCode":"sample string 15","CreatedBy":"3d0688c0-0d58-498d-95ac-3e93aac9dd88","Created":"2025-04-27T23:18:51.1678384+02:00","LastUpdateBy":"def5b73a-a973-449b-b997-4f13a9783106","LastUpdate":"2025-04-27T23:18:51.1678384+02:00","CreatedByUser":"sample string 20","LastUpdateByUser":"sample string 21","Id":"0ff3cd6f-6ff0-4e8a-b073-a69e15c72bcc","IsNew":true}]

application/xml, text/xml

Sample:
<ArrayOfReportCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimePunch.Core.Services.ReportingService.Dto">
  <ReportCustomerDto i:nil="true" />
  <ReportCustomerDto z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Id>0ff3cd6f-6ff0-4e8a-b073-a69e15c72bcc</Id>
    <IsNew>true</IsNew>
    <Created>2025-04-27T23:18:51.1678384+02:00</Created>
    <CreatedBy>3d0688c0-0d58-498d-95ac-3e93aac9dd88</CreatedBy>
    <CreatedByUser>sample string 20</CreatedByUser>
    <LastUpdate>2025-04-27T23:18:51.1678384+02:00</LastUpdate>
    <LastUpdateBy>def5b73a-a973-449b-b997-4f13a9783106</LastUpdateBy>
    <LastUpdateByUser>sample string 21</LastUpdateByUser>
    <ContactPerson>sample string 5</ContactPerson>
    <ContactPersonJobPosition>sample string 6</ContactPersonJobPosition>
    <CustomerCode>sample string 15</CustomerCode>
    <CustomerId>35848a20-187b-487f-acf5-0ff498f7825c</CustomerId>
    <CustomerName>sample string 2</CustomerName>
    <CustomerRefNr>sample string 3</CustomerRefNr>
    <EMailAddress>sample string 7</EMailAddress>
    <FaxNumber>sample string 10</FaxNumber>
    <IsCustomerDeleted>true</IsCustomerDeleted>
    <MobileNumber>sample string 11</MobileNumber>
    <Notes>sample string 12</Notes>
    <PhoneNumber>sample string 9</PhoneNumber>
    <PostalAddress>sample string 8</PostalAddress>
    <VatRegNo>sample string 13</VatRegNo>
    <Website>sample string 4</Website>
  </ReportCustomerDto>
</ArrayOfReportCustomerDto>