GET api/partners/userslist

Returns a list of users that belong to a partner.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of user's information.

Collection of PartnerUser
NameDescriptionTypeAdditional information
Id

User identifier.

integer

None.

IdAccount

Account identifier.

integer

None.

UserName

Username.

string

None.

FullName

Full name of the user.

string

None.

IdPartner

Partner identifier.

integer

None.

PartnerUserId

Custom partner identifier.

string

None.

IdPaymentType

Type of payment of the user.

PaymentTypeId

None.

AccountDTO

Account entity.

Account

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "IdAccount": 2,
    "UserName": "sample string 3",
    "FullName": "sample string 4",
    "IdPartner": 5,
    "PartnerUserId": "sample string 6",
    "IdPaymentType": "None",
    "AccountDTO": {
      "$id": "2",
      "Id": 1,
      "AccountName": "sample string 2",
      "IdAccountType": "None",
      "FullName": "sample string 3",
      "RegisteredDate": "2021-12-03T12:04:13.3268464+01:00",
      "RenovationDate": "2021-12-03T12:04:13.3268464+01:00",
      "ExpiryDate": "2021-12-03T12:04:13.3268464+01:00",
      "MonthlyFee": 1.0,
      "Balance": 4.0,
      "Billable": true,
      "IdPricePlan": "None",
      "ExtraItemsCost": 1.0,
      "DiscountPercent": 1.0,
      "IdPaymentType": "None",
      "IdVatType": "None",
      "Deleted": true,
      "TerminationDate": "2021-12-03T12:04:13.3268464+01:00",
      "IdentityNumber": "sample string 7",
      "IdentityNumberVerified": true,
      "BillingPostalAddress": "sample string 9",
      "BillingPostalCode": "sample string 10",
      "BillingCity": "sample string 11",
      "BillingProvince": "sample string 12",
      "BillingCountryId": "sample string 13",
      "BillingPhoneNumber1": "sample string 14",
      "BillingPhoneNumber2": "sample string 15",
      "UseCustomEmailTemplates": true,
      "CustomEmailTemplateText": "sample string 17",
      "BillingNotificationsAddress": "sample string 18",
      "DefaultTalkModelBaseId": "None",
      "AutoDeleteFilesCompleteTalks": true,
      "DaysDeleteFilesCompleteTalks": 1,
      "AutoDeleteFilesIncompleteTalks": true,
      "DaysDeleteFilesIncompleteTalks": 1,
      "AutoExpirationUnopenedTalks": true,
      "DaysExpirationUnopenedTalks": 1,
      "AutoExpirationUndownloadedTalks": true,
      "DaysExpirationUndownloadedTalks": 1,
      "Language": "sample string 23",
      "IdPartner": 1,
      "PartnerUserId": "sample string 24",
      "UseSpecialTemplateMark": true,
      "SpecialTemplateMark": "sample string 26",
      "ButtonColor": "sample string 27",
      "ButtonTextColor": "sample string 28",
      "UseCustomTalkHeader": true,
      "AutoDeleteActivated": true,
      "DeleteTalkAgeDays": 31,
      "DeleteOnlyCompleteTalks": true,
      "DeleteDocumentTypes": "None",
      "DeleteDocumentsMinFileSize": 1,
      "DeleteDocumentsMaxFileSize": 1,
      "AutoArchiveActivated": true,
      "ArchiveTalkAgeDays": 34,
      "ArchiveOnlyCompleteTalks": true,
      "ArchiveDocumentTypes": "None",
      "ArchiveDocumentsMinFileSize": 1,
      "ArchiveDocumentsMaxFileSize": 1,
      "SmsSenderId": "sample string 36"
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPartnerUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.WebApi.Models">
  <PartnerUser z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AccountDTO z:Id="i2">
      <AccountName>sample string 2</AccountName>
      <ArchiveDocumentTypes>None</ArchiveDocumentTypes>
      <ArchiveDocumentsMaxFileSize>1</ArchiveDocumentsMaxFileSize>
      <ArchiveDocumentsMinFileSize>1</ArchiveDocumentsMinFileSize>
      <ArchiveOnlyCompleteTalks>true</ArchiveOnlyCompleteTalks>
      <ArchiveTalkAgeDays>34</ArchiveTalkAgeDays>
      <AutoArchiveActivated>true</AutoArchiveActivated>
      <AutoDeleteActivated>true</AutoDeleteActivated>
      <AutoDeleteFilesCompleteTalks>true</AutoDeleteFilesCompleteTalks>
      <AutoDeleteFilesIncompleteTalks>true</AutoDeleteFilesIncompleteTalks>
      <AutoExpirationUndownloadedTalks>true</AutoExpirationUndownloadedTalks>
      <AutoExpirationUnopenedTalks>true</AutoExpirationUnopenedTalks>
      <Balance>4</Balance>
      <Billable>true</Billable>
      <BillingCity>sample string 11</BillingCity>
      <BillingCountryId>sample string 13</BillingCountryId>
      <BillingNotificationsAddress>sample string 18</BillingNotificationsAddress>
      <BillingPhoneNumber1>sample string 14</BillingPhoneNumber1>
      <BillingPhoneNumber2>sample string 15</BillingPhoneNumber2>
      <BillingPostalAddress>sample string 9</BillingPostalAddress>
      <BillingPostalCode>sample string 10</BillingPostalCode>
      <BillingProvince>sample string 12</BillingProvince>
      <ButtonColor>sample string 27</ButtonColor>
      <ButtonTextColor>sample string 28</ButtonTextColor>
      <CustomEmailTemplateText>sample string 17</CustomEmailTemplateText>
      <DaysDeleteFilesCompleteTalks>1</DaysDeleteFilesCompleteTalks>
      <DaysDeleteFilesIncompleteTalks>1</DaysDeleteFilesIncompleteTalks>
      <DaysExpirationUndownloadedTalks>1</DaysExpirationUndownloadedTalks>
      <DaysExpirationUnopenedTalks>1</DaysExpirationUnopenedTalks>
      <DefaultTalkModelBaseId>None</DefaultTalkModelBaseId>
      <DeleteDocumentTypes>None</DeleteDocumentTypes>
      <DeleteDocumentsMaxFileSize>1</DeleteDocumentsMaxFileSize>
      <DeleteDocumentsMinFileSize>1</DeleteDocumentsMinFileSize>
      <DeleteOnlyCompleteTalks>true</DeleteOnlyCompleteTalks>
      <DeleteTalkAgeDays>31</DeleteTalkAgeDays>
      <Deleted>true</Deleted>
      <DiscountPercent>1</DiscountPercent>
      <ExpiryDate>2021-12-03T12:04:13.3268464+01:00</ExpiryDate>
      <ExtraItemsCost>1</ExtraItemsCost>
      <FullName>sample string 3</FullName>
      <Id>1</Id>
      <IdAccountType>None</IdAccountType>
      <IdPartner>1</IdPartner>
      <IdPaymentType>None</IdPaymentType>
      <IdPricePlan>None</IdPricePlan>
      <IdVatType>None</IdVatType>
      <IdentityNumber>sample string 7</IdentityNumber>
      <IdentityNumberVerified>true</IdentityNumberVerified>
      <Language>sample string 23</Language>
      <MonthlyFee>1</MonthlyFee>
      <PartnerUserId>sample string 24</PartnerUserId>
      <RegisteredDate>2021-12-03T12:04:13.3268464+01:00</RegisteredDate>
      <RenovationDate>2021-12-03T12:04:13.3268464+01:00</RenovationDate>
      <SmsSenderId>sample string 36</SmsSenderId>
      <SpecialTemplateMark>sample string 26</SpecialTemplateMark>
      <TerminationDate>2021-12-03T12:04:13.3268464+01:00</TerminationDate>
      <UseCustomEmailTemplates>true</UseCustomEmailTemplates>
      <UseCustomTalkHeader>true</UseCustomTalkHeader>
      <UseSpecialTemplateMark>true</UseSpecialTemplateMark>
    </AccountDTO>
    <FullName>sample string 4</FullName>
    <Id>1</Id>
    <IdAccount>2</IdAccount>
    <IdPartner>5</IdPartner>
    <IdPaymentType>None</IdPaymentType>
    <PartnerUserId>sample string 6</PartnerUserId>
    <UserName>sample string 3</UserName>
  </PartnerUser>
  <PartnerUser z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfPartnerUser>