Get all partners
get
/crmRestApi/resources/11.13.18.05/partnersLOV
Request
Query Parameters
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- ActivePartnersFinder: Finds all active partners with the specified finder.
Finder Variables:- BindDefaultStatus; string; The bind default status. This is optional. This need not be passed.
- BindExtraStatus; string; The bind extra status. This is optional. This need not be passed.
- PrimaryKey: Finds a partner using party identifier.
Finder Variables:
- ActivePartnersFinder: Finds all active partners with the specified finder.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- AccountDirectorId; integer; The unique identifier of the owner resource for this partner.
- Address; string; That address of the partner.
- City; string; The city name of the partner address.
- CompanyNumber; string; The alternate key identifier of the partner's company.
- Country; string; The country associated with the partner.
- Location; string; The location of the address.
- LookupCode; string; The lookup code. This attribute is internal.
- LookupType; string; The lookup type. This attribute is internal.
- PartnerAccountId; integer; The unique identifier of the partner account. This attribute is internal.
- PartnerLevel; string; The partner level code.
- PartnerLevelMeaning; string; The partner level meaning.
- PartnerStatusMeaning; string; The partner status meaning.
- PartnerType; string; A Concatenated list of Partner Types.
- PartyId; integer; The unique identifier of the party..
- PartyName; string; The name of the partner.
- PartyUniqueName; string; The unique name of the partner.
- PostalCode; string; The postal code of the partner address.
- State; string; The state of the partner address.
- Status; string; The partner status code.
- TerritoryCode; string; The territory code.
- TerritoryShortName; string; The territory short name.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : partnersLOV
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : partnersLOV-item-response
Type:
Show Source
object-
AccountDirectorId: integer
(int64)
The unique identifier of the owner resource for this partner.
-
Address: string
Title:
AddressRead Only:trueMaximum Length:255That address of the partner. -
City: string
Title:
CityRead Only:trueMaximum Length:60The city name of the partner address. -
CompanyNumber: string
Title:
Partner NumberMaximum Length:30The alternate key identifier of the partner's company. -
Country: string
Title:
CountryRead Only:trueMaximum Length:2The country associated with the partner. -
FormattedAddress: string
Title:
AddressRead Only:trueThe formatted address of the partner. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Location: string
Title:
LocationMaximum Length:90The location of the address. -
LookupCode: string
Title:
Lookup CodeRead Only:trueMaximum Length:30The lookup code. This attribute is internal. -
LookupType: string
Title:
Lookup TypeRead Only:trueMaximum Length:30The lookup type. This attribute is internal. -
PartnerAccountId: integer
(int64)
Read Only:
trueThe unique identifier of the partner account. This attribute is internal. -
partnerContactManagersLOV: array
Partner Contact Managers
Title:
Partner Contact ManagersThe partner contact managers list of values resource is used to view a list of partner contacts in a managerial role. -
partnerDimensionsLOV: array
Partner Types
Title:
Partner TypesThe partner types resource is used to view, create, and delete the type of the partner. The partner type record enables you to categorize the partner account based on the type of business the partner performs. For example, a partner can be a reseller, or distributor. -
partnerEnrolledProgramsLOV: array
Partner Enrolled Programs
Title:
Partner Enrolled ProgramsThe partner enrolled programs list of values resource is used to view a list of the partner programs a partner is enrolled in. -
PartnerLevel: string
Title:
LevelMaximum Length:50The partner level code. -
PartnerLevelMeaning: string
Title:
LevelRead Only:trueMaximum Length:80The partner level meaning. -
PartnerStatusMeaning: string
Title:
StatusRead Only:trueMaximum Length:80The partner status meaning. -
PartnerType: string
Title:
TypeRead Only:trueA Concatenated list of Partner Types. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueThe unique identifier of the party.. -
PartyName: string
Title:
NameRead Only:trueMaximum Length:360The name of the partner. -
PartyUniqueName: string
Title:
Partner NameRead Only:trueMaximum Length:900The unique name of the partner. -
PostalCode: string
Title:
Postal CodeRead Only:trueMaximum Length:60The postal code of the partner address. -
SelectPartner: boolean
Indicates whether the partner can be selected. This attribute is internal.
-
State: string
Title:
StateRead Only:trueMaximum Length:60The state of the partner address. -
Status: string
Title:
StatusMaximum Length:50The partner status code. -
TerritoryCode: string
Title:
Territory CodeRead Only:trueMaximum Length:2The territory code. -
TerritoryShortName: string
Title:
CountryRead Only:trueMaximum Length:80The territory short name.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Partner Contact Managers
Type:
arrayTitle:
Partner Contact ManagersThe partner contact managers list of values resource is used to view a list of partner contacts in a managerial role.
Show Source
Nested Schema : Partner Types
Type:
arrayTitle:
Partner TypesThe partner types resource is used to view, create, and delete the type of the partner. The partner type record enables you to categorize the partner account based on the type of business the partner performs. For example, a partner can be a reseller, or distributor.
Show Source
Nested Schema : Partner Enrolled Programs
Type:
arrayTitle:
Partner Enrolled ProgramsThe partner enrolled programs list of values resource is used to view a list of the partner programs a partner is enrolled in.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : partnersLOV-partnerContactManagersLOV-item-response
Type:
Show Source
object-
AttachmentEntityName: string
Read Only:
trueDefault Value:HZ_PARTIESThe name of the attachment entity. This attribute is internal. -
ChildRoleRelateId: integer
Read Only:
trueThe unique identifier of the child role. This attribute is internal. -
DenormLevel: number
Read Only:
trueThe denormination level. This attribute is internal. -
DenormMgrId: integer
Read Only:
trueThe denormination manager id. This attribute is internal. -
EffectiveEndDate: string
(date)
Title:
Effective End DateRead Only:trueThe date when the role of the manager ends. This attribute is internal. -
EffectiveStartDate: string
(date)
Title:
Effective Start DateRead Only:trueThe date when the role of the manager starts. This attribute is internal. -
EndDateActive: string
(date)
Title:
To DateRead Only:trueThe date when the record ends. This attribute is internal. -
FndTreeCode: string
Title:
Tree CodeRead Only:trueMaximum Length:30The tree code. This attribute is internal. -
FndTreeStructureCode: string
Title:
Tree Structure CodeRead Only:trueMaximum Length:30The tree structure code. This attribute is internal. -
FndTreeVersionId: string
Title:
Tree Version IDRead Only:trueMaximum Length:32The unique identifier of the tree version. This attribute is internal. -
GroupId: integer
Title:
Group IDRead Only:trueThe unique identifier of the group. This attribute is internal. -
GroupMemberId: integer
Read Only:
trueThe unique identifier of the group member. -
HierarchyType: string
Read Only:
trueMaximum Length:240The hierarchy type. This attribute is internal. -
ImageURL: string
Read Only:
trueThe url of the image. This attribute is internal. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ManagerName: string
Title:
ManagerRead Only:trueThe name of the manager. -
Name: string
Title:
OrganizationRead Only:trueMaximum Length:240The name of the partner contact manager. This attribute is internal. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueThe object version number. This attribute is internal. -
OrganizationId: integer
(int64)
Read Only:
trueThe unique identifier of the organization. This attribute is internal. -
ParentOrgId: integer
(int64)
Read Only:
trueThe unique identifier of the parent organization. This attribute is internal. -
ParentResourceId: integer
Read Only:
trueThe unique identifier of the parent resource. This attribute is internal. -
ParRoleRelateId: integer
Read Only:
trueThe unique identifier of the partner role related. This attribute is internal. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueThe unique identifier of the party associated with the partner contact. -
PartyName: string
Title:
NameRead Only:trueMaximum Length:360The name of the party associated with the partner contact. -
PartyType: string
Title:
TypeRead Only:trueMaximum Length:30The party type. This attribute is internal. -
PersonFirstName: string
Title:
First NameRead Only:trueMaximum Length:150The first name of the person. This attribute is internal. -
PersonLastName: string
Title:
Last NameRead Only:trueMaximum Length:150The last name of the person. This attribute is internal. -
ResourceId: integer
Read Only:
trueThe unique identifier of the resource. This attribute is internal. -
ResourceName: string
Title:
NameRead Only:trueMaximum Length:360The resource name. This attribute is internal. -
RoleCode: string
Read Only:
trueMaximum Length:30The code indicating the role of the partner contact. -
RoleId: integer
Read Only:
trueThe unique identifier of the partner contact role. -
RoleName: string
Title:
Role NameRead Only:trueMaximum Length:60The name of the partner contact role. -
RoleRelateId: integer
Read Only:
trueThe unique identifier of the related role. This attribute is internal. -
RoleResourceId: integer
Read Only:
trueThe unique identifier of the role resource.This attribute is internal. -
RoleResourceType: string
Read Only:
trueMaximum Length:30The role resource type. This attribute is internal. -
StartDateActive: string
(date)
Title:
From DateRead Only:trueThe date when the record starts. This attribute is internal. -
SysEffectiveDate: string
(date)
The system effective date. This attribute is internal.
-
TreeCode: string
Read Only:
trueMaximum Length:30The tree code. This attribute is internal. -
TreeEffectiveEndDate: string
(date)
Title:
Effective End DateRead Only:trueThe effective end date. This attribute is internal. -
TreeEffectiveStartDate: string
(date)
Title:
Effective Start DateRead Only:trueThe effective start date. This attribute is internal. -
TreeStatus: string
Read Only:
trueMaximum Length:30The tree status. This attribute is internal. -
TreeStructureCode: string
Read Only:
trueMaximum Length:30The tree structure code. This attribute is internal. -
TreeVersionId: string
Read Only:
trueMaximum Length:32The unique identifier of the tree version.This attribute is internal.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : partnersLOV-partnerDimensionsLOV-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the row. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the row was created. -
DimSubtypeCode: string
Maximum Length:
30This attribute is internal. -
IntegrationId: string
Maximum Length:
80The reference to the actual dimension member item. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe user who last updated the row. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the row. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerCompanyNumber: string
Title:
Partner NumberMaximum Length:30The company number of the partner company. -
PartnerDimMembersId: integer
(int64)
This column is the private key of this table.
-
PartnerTypeCode: string
Title:
Partner TypeMaximum Length:30The partner type code. -
PartnerTypeName: string
Title:
TypeMaximum Length:360The partner type name. For example: Value Added Reseller, etc.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : partnersLOV-partnerEnrolledProgramsLOV-item-response
Type:
Show Source
object-
ApprovalDate: string
(date)
Title:
Approval DateRead Only:trueThe date when the enrollment was approved. -
EnrollmentNumber: string
Title:
Enrollment NumberRead Only:trueMaximum Length:30The alternate key identifier of the enrollment. -
EnrollmentStatus: string
Title:
StatusRead Only:trueMaximum Length:30The status of the enrollment, such as draft, pending, approved, rejected, terminated, or renewed. -
ExpirationDate: string
(date)
Title:
End DateRead Only:trueThe date when the enrollment expires. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerPartyId: number
Read Only:
trueThe unique identifier of the partner. -
PartnerProgramId: number
Title:
Program IDRead Only:trueThe unique identifier of the partner program. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueThe unique identifier of the partner organization's party. -
PartyName: string
Title:
OrganizationRead Only:trueMaximum Length:360The name of the partner organization. -
ProgramEnrollmentId: integer
Title:
Program Enrollment IDRead Only:trueThe unique identifier of the partner program enrollment. -
ProgramName: string
Title:
Program NameRead Only:trueMaximum Length:150The name of the partner program. -
ProgramNumber: string
Title:
Program NumberRead Only:trueMaximum Length:30The alternate key identifier of the program. -
ProgramTermExpiryWarn: string
Read Only:
trueMaximum Length:30The message that is displayed before the program term expiry. -
ProgramType: string
Title:
Program TypeRead Only:trueMaximum Length:30The type of various partner programs, such as reseller or go to market. -
RecordSet: string
Read Only:
trueThe record set associated with the program. -
RemainingDays: string
Title:
Remaining DaysRead Only:trueThe number of days left before the enrollment expires. -
StartDate: string
(date)
Title:
Start DateRead Only:trueThe date when the program enrollment begins. -
StatusCode: string
Title:
Program Status CodeRead Only:trueMaximum Length:30The code indicating the status of the enrollment. -
SubmissionDate: string
(date)
Title:
Submission DateRead Only:trueThe date when the enrollment was submitted.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source