SlideShare a Scribd company logo
1 of 208
Download to read offline
PUBLIC
2017-02-15
SAP Hybris Cloud for Customer – OData Services
Content
1 Getting Started: OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 What is OData?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 SAP Cloud for Customer OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Accessing OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Accessing Metadata of the OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Authentication and Authorization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Supported System Query Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 SAP Hybris Cloud for Customer OData Developer's Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
1.5 Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
2 OData API Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 SAP Hybris Cloud for Customer OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Account EntityType. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Appointment Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
BusinessPartner Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
CodeList Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Contextual CodeList Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Contact Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
EMail Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Employee Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
External ID Mapping Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Individual Customer Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Lead Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Sales Lead Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Opportunity Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Phone Call Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Product Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Service Request Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Task Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
TimeEntry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
User Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Visit Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
Marketing Attributes Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
HTTP Status Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
2.2 SAP Cloud for Customer for OData Service for Retail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184
Store Cart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
2 P U B L I C
SAP Hybris Cloud for Customer – OData Services
Content
Shopping List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Material. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Stores. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Store Employee Checkin/Checkout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
In-Store Activity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
3 OData Service Explorer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
3.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
3.2 Create an OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
3.3 Add an Entity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
3.4 Result. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
3.5 Consume an External OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
4 OData Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199
4.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199
4.2 Exploring OData Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
4.3 Testing OData Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
4.4 Favorites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
4.5 History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
4.6 Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
SAP Hybris Cloud for Customer – OData Services
Content P U B L I C 3
1 Getting Started: OData API
1.1 Purpose
SAP Cloud for Customer offers an OData API in order to consume SAP Cloud for Customer features in your
business applications. With this OData API, you can query, read, add, update and delete data from and into SAP
Cloud for Customer.
This document is a reference point for learning SAP Cloud for Customer OData API. Thus, it provides a short
introduction to the capabilities of the OData API as well as information on where to find more details.
1.2 What is OData?
OData (Open Data Protocol) is an OASIS Standard that defines a protocol for building and consuming RESTful
APIs, based on the HTTP protocol. OData differentiates itself from most of the other RESTful APIs, mainly by
providing the following:
● Metadata of the entities exposed by the OData service
● Relationship between the entities within an OData service
● System and custom query options for retrieving data
The protocol allows filtering data, ordering and paginating of the query results, retrieving number of records, and
more. Querying and modifying data is possible in XML (AtomPub) and JSON formats.
For more information on OData protocol, please refer to http://www.odata.org , where you can find different
versions of OData specifications, community resources (such as OData providers and consumer libraries),
sample OData services and tutorials.
1.3 SAP Cloud for Customer OData API
SAP Hybris Cloud for Customer OData API conforms to OData version 2 specification. Complete list of
collections (or data end-points) of SAP Hybris Cloud for Customer OData API, are listed on SAP Hybris Cloud for
Customer OData API Reference .
4 P U B L I C
SAP Hybris Cloud for Customer – OData Services
Getting Started: OData API
1.3.1 Accessing OData API
You can access the SAP Hybris Cloud for Customer OData API of your tenant, with the URL pattern: https://
<your_tenant>/sap/c4c/odata/v1/c4codata
1.3.2 Accessing Metadata of the OData API
You can access the metadata of the OData API of your tenant, with the URL pattern: https://
<YourTenant>/sap/c4c/odata/v1/c4codata/$metadata
1.3.3 Authentication and Authorization
Client application that uses SAP Hybris Cloud for Customer OData API, have two options for providing
authorization and authentication for their users:
● Basic Authentication
● OAuth 2.0
Using OAuth 2.0 requires a trust relationship to be configured between SAP Hybris Cloud for Customer and the
identity provider of your client application, in the Administrator Work Center. For details refer to the IT Setup
Guide.
1.3.4 Supported System Query Options
SAP Hybris Cloud for Customer OData API supports OData V2 system query options listed below:
● $count
● $expand
● $filter
● $format
● $inlinecount
● $orderby
● $search
● $select
● $skip
● $skiptoken
● $top
Usage information, examples and possible restrictions are described in the SAP Hybris Cloud for Customer OData
Developer’s Guide .
SAP Hybris Cloud for Customer – OData Services
Getting Started: OData API P U B L I C 5
1.4 SAP Hybris Cloud for Customer OData Developer's Guide
The SAP Hybris Cloud for Customer OData API Developer’s Guide complements theSAP Hybris Cloud for
Customer OData API Reference with usage details and provide examples for easy convenience to developers
For more information, see SAP Hybris Cloud for Customer OData Developer’s Guide
1.5 Additional Resources
For more information on SAP Hybris Cloud for Customer OData API, see the following list:
● SAP Hybris Cloud for Customer Administration Guide
● SAP Hybris Cloud for Customerr area in SAP Community Network
6 P U B L I C
SAP Hybris Cloud for Customer – OData Services
Getting Started: OData API
2 OData API Reference
2.1 SAP Hybris Cloud for Customer OData Service
The OData entity structure is described in the following diagrams. The entity diagrams are grouped under
following sections:
● AccountAccount EntityType [page 8]
● ContactContact Entity Type [page 37]
● LeadSales Lead Entity Type [page 94]
● OpportunityOpportunity Entity Type [page 105]
● EmployeeEmployee Entity Type [page 57]
● ProductsProduct Entity Type [page 131]
● Service RequestService Request Entity Type [page 139]
● VisitVisit Entity Type [page 171]
Group Name Activities:
● AppointmentAppointment Entity Type [page 27]
● EmailEMail Entity Type [page 49]
● Phone callPhone Call Entity Type [page 125]
● TaskTask Entity Type [page 157]
Note
For details on the associations between entities, see the navigation details of the respective entity.
Note
The accuracy of the information provided about the Nullable property in the SAP Hybris Cloud for Customer
OData API collection document might not always be accurate. In general, if the Nullable attribute has the value:
● True, then this property can be left empty. However, in some cases, due to application-specific behavior
and/or due to the dependency on the value of another property, a property should not be left blank even if the
value of the Nullable property is indicated as True. For create or update calls on such properties, system will
respond with a specific error message if they are left blank
● False, such a property should never be left blank.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 7
2.1.1 Account EntityType
The Account related collections allow you to read and maintain Accounts and their related data such as Address,
Contacts related to the Accounts and their addresses.
2.1.1.1 Account
Overview
The Account collection provides information about corporate customers and prospects. These are existing
organizations and potential customers for the company.
8 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
URL
https://<CloudTenant>/sap/c4c/odata/v1/c4codata/AccountCollection
Properties
Table 1:
Name Type Nullable Max Length Fixed length $ Search Relevant
ABCClassification­
Code
Edm.String true 1 true
ABCClassification­
CodeText
Edm.String true
AccountFormat­
tedName
Edm.String false 40 true true
AccountID Edm.String true 10 true true
AccountName Edm.String true 240 true true
AccountName2 Edm.String true 240 true
AccountName3 Edm.String true 240 true
AccountName4 Edm.String true 240 true
AdditionalStreet­
PrefixName
Edm.String true 240 true
AdditionalStreet­
SuffixName
Edm.String true 240 true
StreetPrefixName Edm.String true 240 true
StreetSuffixName Edm.String true 240 true
BuildingID Edm.String true 240 true
CareOfName Edm.String true 240 true
CatagoryCode Edm.String false 1 true true
CatagoryCodeText Edm.String true
ChangedBy Edm.String true 40 true
ChangedOn Edm.DateTime true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 9
Name Type Nullable Max Length Fixed length $ Search Relevant
CityName Edm.String true 240 true
ContactPermis­
sionCode
Edm.String true 1 true
ContactPermis­
sionCodeText
Edm.String true
Correspondence­
LanguageCode
Edm.String true 1 true
Correspondence­
nıç0?ü 6:Ê‹–â¥j¿ÖZ˚nqqØƈå
Text
Edm.String true true
CountryCode Edm.String true 3 true
CountryCodeText Edm.String true
CountyName Edm.String true 240 true
CreatedBy Edm.String true 40 true
CreatedOn Edm.DateTime true
DUNS Edm.String true 60 true
DistrictName Edm.String true 240 true
EMail Edm.String true 765 true
Fax Edm.String true 350 true
HouseID Edm.String true 100 true
IndustryCode Edm.String true 10 true
IndustryCodeText Edm.String true
LegalFormCode Edm.String true 2 true
LegalFormCode­
Text
Edm.String true
MarketingLeadIn­
dicator
Edm.Boolean true
Mobile Edm.String true 350 true
NielsenID Edm.String true 2 true
10 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length $ Search Relevant
NielsenIDText Edm.String true
ObjectID Edm.String false 70 true
OwnerFormatted­
Name
Edm.String true 480 true
OwnerID Edm.String true 20 true
OwnerUUID Edm.Guid true
POBoxDeviatingCi­
tyName
Edm.String true 240 true
POBoxDeviating­
CountryCode
Edm.String true true
POBoxDeviating­
CountryCodeText
Edm.String true 3 true
POBoxDeviating­
RegionCode
Edm.String true true
POBoxDeviating­
RegionCodeText
Edm.String true 6 true
POBoxID Edm.String true 100 true
POBoxPostalCode Edm.String true true
POBoxPostalCode­
Text
Edm.String true true
Phone Edm.String true 350 true
PreferredCommu­
‰TˆEs³)Þ[�	|4ÿ⁄^ÅGÊu%DˆÕlH€*ʵç
peCode
Edm.String true 3 true
PreferredCommu­
‰TˆEs³)Þ{�|#ÿš^üGÆu.D˛ÕT@0ä
diumTypeCode
Edm.String true
PrimaryContactID Edm.String true 10 true
PrimaryContact­
Name
Edm.String false 480 true true
RoleCode Edm.String true 6 true
RoleCodeText Edm.String true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 11
Name Type Nullable Max Length Fixed length $ Search Relevant
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
StreetName Edm.String true 360 true
StreetPostalCode Edm.String true 100 true
StreetPostalCode­
Text
Edm.String true true
Tax.Jurisdiction­
Code
Edm.String true 25 true
TaxJurisdictionCo­
deText
Edm.String true true
TimeZoneCode Edm.String true 10 true
TimeZoneCode­
Text
Edm.String true true
UUID Edm.Guid true
Web Edm.String true 1280 true
Navigations
Table 2:
Name FromEntity ToEntity
AccountAddress Account AccountAddress 1 .. *
AccountAttachment Account AccountAttachment 1 .. *
AccountContactRelationship Account AccountContactRelationship 1 .. 1
AccountNotes Account AccountNotes 1 .. *
AccountRole Account AccountRole 1 .. *
AccountSalesData Account AccountSalesData 1 .. *
AccountTeam Account AccountTeam 1 .. *
ExternalIDMapping Account ExternalIDMapping 1 .. *
12 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.1.2 AccountAddress
Overview
The AccountAddress collection provides detailed organization address of corporate customer and prospects.
Top Level Entity
Account
Properties
Table 3:
Name Type Nullable Max Length Fixed length $ Search Relevant
AdditionalStreet­
PrefixName
Edm.String true 240 true
AdditionalStreet­
SufixName
Edm.String true 240 true
StreetPrefixName Edm.String true 240 true
lStreetSufixName Edm.String true 240 true
CareOfName Edm.String true 240 true
AddressLine1 Edm.String true 240 true
AddressLine2 Edm.String true 240 true
AddressLine4 Edm.String true 240 true
AddressLine5 Edm.String true 240 true
CareOfName Edm.String true 240 true
City Edm.String true 240 true
CountryCode Edm.String true 3 true
CountryCodeText Edm.String true
EMail Edm.String true 765 true
Fax Edm.String true 350 true
FormattedAddress Edm.String true 480 true
Latitude Edm.Decimal true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 13
Name Type Nullable Max Length Fixed length $ Search Relevant
Longitude Edm.Decimal true
Mobile Edm.String true 350 true
ObjectID Edm.String true 70 true
POBox Edm.String true 100 true
POBoxAddress Edm.Boolean true
POBoxPostalCode Edm.String true 100 true
POBoxPostalCode­
Text
Edm.String true
ParentObjectID Edm.String true 70 true
Phone Edm.String true 350 true
PostalCode Edm.String true 100 true
PostalCodeText Edm.String true
State Edm.String true 6 true
StateText Edm.String true
Street Edm.String true 360 true
UUID Edm.Guid true
Navigations
Table 4:
Name FromEntity ToEntity
Account AccountAddress Account * ..1
2.1.1.3 Account Attachment
Overview
The AccountAttachment collection provides information about various attachments such as Documents, Images
etc. associated to a particular Corporate Customer.
These attachment types can be created, updated, and viewed using this collection.
14 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Top Level Entity
Account
Properties
Table 5:
Name Type Nullable Max Length Fixed length $ Search Relevant
Binary Edm.Binary true false
CategoryCode Edm.String false 1 true
CategoryCodeText Edm.String true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true false
LastUpdatedBy Edm.String true 80 true
LastUpdatedOn Edm.DateTime true
LinkWebURI Edm.String true false
MimeType Edm.String true false
Name Edm.String true false
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UUID Edm.Guid false
2.1.1.4 Account Contact Communication Data
Overview
The AccountContactCommunicationData collection provides information about personal workplace address
details of the Contact related to an Account.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 15
Top Level Entity
Account
Properties
Table 6:
Name Type Nullable Max Length Fixed length $ Search Relevant
EMail Edm.String true 765 true
Fax Edm.String true 350 true
JobTitle Edm.String true 240 true
Mobile Edm.String true 350 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
Phone Edm.String true 350 true
Navigations
Table 7:
Name From Entity To Entity Cardinality
AccountContactRelationship AccountContactCommunica­
tionData
AccountContactRelationship 1 ..1
2.1.1.5 Account Contact Relationship
Overview
The AccountContactRelationship collection sets up the relationship between contact and accounts. A single
contact can be associated with multiple Accounts and vice versa.
16 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 8:
Name Type Nullable Max Length Fixed length $ Search Relevant
CategoryCode Edm.String true 16 true
AccountUUID Edm.String true
CategoryCodeText Edm.String true
ContactUUID Edm.Guid true
DepartmentCode Edm.String true 4 true
DepartmentCode­
Text
Edm.String true
FunctionCode Edm.String true 4 true
FunctionCodeText Edm.String true
Main Edm.Boolean true
ObjectID Edm.String true 70 true
VIPReasonCode Edm.String true 1 true
VIPReasonCode­
Text
Edm.String true
Navigations
Table 9:
Name From Entity To Entity Cardinality
AccountContactCommunica­
tionData
AccountContactRelationship AccountContactCommunica­
tionData
1 ..1
AccountContacts AccountContactRelationship AccountContacts
2.1.1.6 Account Contacts
Overview
The AccountContacts collection provides information about contacts related to an account.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 17
Usage Scenario
The AccountContacts cannot be created whereas can be updated. This displays the contact details provided in
the AccountContactRelationship.
Top Level Entity
AccountContactRelationship
Properties
Table 10:
Name Type Nullable Max Length Fixed length $ Search Relevant
CategoryCode Edm.String true 1 true
CategoryCodeText Edm.String true
ContactID Edm.String true 10 true
ContactUUID Edm.Guid true
EndDate Edm.DateTime true
FirstName Edm.String true 240 true
LastName Edm.String true 240 true
Name Edm.String true 480 true
ObjectID Edm.String true 70 true
RoleCode Edm.String true 6 true
RoleCodeText Edm.String true
StartDate Edm.DateTime true
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
18 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.1.7 AccountNotes
Overview
The AccountNotes collection provides information about the corporate customers and prospects, and allows to
add and view the data.
Top Level Entity
Account
Properties
Table 11:
Name Type Nullable Max Length Fixed length $ Search Relevant
AuthorName Edm.String true 40 true
AuthorUUID Edm.Guid true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
LanguageCode Edm.String true 2 true
LanguageCode­
Text
Edm.String true
LastUpdatedBy Edm.String true 80 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
Text Edm.String true false
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UpdatedOn Edm.DateTime true
Navigations
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 19
Table 12:
Name From Entity To Entity Cardinality
AccountContactCommunica­
tionData
AccountContactRelationship AccountContactCommunica­
tionData
1 ..1
AccountContacts AccountContactRelationship AccountContacts
2.1.1.8 Account Role
Overview
The AccountRole collection provides information about the role(s) of an Account.
Top Level Entity
Account
Usage
The property RoleCode has an associated collection – AccountRoleCodeCollection that gives the list of all the
roles and its descriptions. This collection can be used to find the values that can be given for the property
RoleCode during the creation of this entity.
Properties
Table 13:
Name Type Nullable Max Length Fixed length
BusinessCharacter­
Code
Edm.String TRUE 6 TRUE
BusinessCharacterCo­
deText
Edm.String TRUE
ObjectID Edm.String TRUE 70 TRUE
ParentObjectID Edm.String TRUE 70 TRUE
20 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
RoleCode Edm.String TRUE 6 TRUE
RoleCodeText Edm.String TRUE
Navigations
Table 14:
Name FromEntity ToEntity
Account Account AccountRole 1..n
2.1.1.9 AccountSalesData
Overview
The AccountSalesDataCollection provides information about sales related data for an account like sales
organization, group and its associated incoterms, and payment terms.
Top Level Entity
Account
Properties
Table 15:
Name Type Nullable Max Length Fixed length
BillingBlockingReason­
Code
Edm.String TRUE 2 TRUE
BillingBlockingReason­
CodeText
Edm.String TRUE
CurrencyCode Edm.String TRUE 3 TRUE
CurrencyCodeText Edm.String TRUE
CustomerGroupCode Edm.String TRUE 2 TRUE
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 21
CustomerGroupCode­
Text
Edm.String TRUE
DeliveryBlockingRea­
sonCode
Edm.String TRUE 2 TRUE
DeliveryBlockingRea­
sonCodeText
Edm.String TRUE
DeliveryPriorityCode Edm.String TRUE 1 TRUE
DeliveryPriorityCode­
Text
Edm.String TRUE
DistributionChannel­
Code
Edm.String TRUE 2 TRUE
DistributionChannelCo­
deText
Edm.String TRUE
DivisionCode Edm.String TRUE 2 TRUE
DivisionCodeText Edm.String TRUE
IncotermsCode Edm.String TRUE 3 TRUE
IncotermsCodeText Edm.String TRUE
IncotermsLocation Edm.String TRUE 28 TRUE
ObjectID Edm.String TRUE 70 TRUE
OrderBlockingReason­
Code
Edm.String TRUE 2 TRUE
OrderBlockingReason­
CodeText
Edm.String TRUE
PaymentTermsCode Edm.String TRUE 4 TRUE
PaymentTermsCode­
Text
Edm.String TRUE
SalesGroupID Edm.String TRUE 20 TRUE
SalesGroupUUID Edm.Guid TRUE
SalesOfficeUUID Edm.Guid TRUE
SalesSupportBlockin­
gIndicator
Edm.Boolean TRUE
SalesOrganisationID Edm.String TRUE 20 TRUE
SalesOrganisationUUID Edm.Guid TRUE
22 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Navigations
Table 16:
Name From Entity To Entity Cardinality
AccountSalesGroupName AccountSalesData AccountSalesGroupName 1..n
AccountSalesofficeName AccountSalesData AccountSalesOfficeName 1..n
AccountSalesOrganisation­
Name
AccountSalesData AccountSalesOrganisation­
Name
1..n
2.1.1.10 AccountSalesGroupName
Overview
The AccountSalesGroupName collection provides the list of Sales group names present in the AccountSalesData
entity type.
Top Level Entity
Account; Parent entity is AccountSalesData
Properties
Table 17:
Name Type Nullable Max Length Fixed length
Name Edm.String TRUE 40 TRUE
ObjectID Edm.String TRUE 70 TRUE
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 23
2.1.1.11 AccountSalesOfficeName
Overview
The AccountSalesOfficeName collection provides the list of all Sales group names present in the
AccountSalesData entity type.
Top Level Entity
Account; Parent entity is AccountSalesData
Properties
Table 18:
Name Type Nullable Max Length Fixed length
Name Edm.String TRUE 40 TRUE
ObjectID Edm.String TRUE 70 TRUE
2.1.1.12 AccountSalesOrganisationName
Overview
The AccountSalesOrganisationName collection provides the list of all Sales group names present in the
AccountSalesData entity type.
Top Level Entity
Account; Parent entity is AccountSalesData
24 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 19:
Name Type Nullable Max Length Fixed length
Name Edm.String TRUE 40 TRUE
ObjectID Edm.String TRUE 70 TRUE
2.1.1.13 AccountTeam
Overview
The AccountTeam collection provides information about the team that belongs to a corporate account.
Top Level Entity
Account
Properties
Table 20:
Name Type Nullable Max Length Fixed length
DistributionChannel­
Code
Edm.String TRUE 2 TRUE
DistributionChannelCo­
deText
Edm.String TRUE
DivisionCode Edm.String TRUE 2 TRUE
DivisionCodeText Edm.String TRUE
EmployeeUUID Edm.Guid TRUE
EndDate Edm.DateTime TRUE
Name Edm.String TRUE 480 TRUE
ObjectID Edm.String TRUE 70 TRUE
ParentObjectID Edm.String TRUE 70 TRUE
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 25
PartyRoleCode Edm.String TRUE 10 TRUE
PartyRoleCodeText Edm.String TRUE
SalesOrganisationUUID Edm.Guid TRUE
StartDate Edm.DateTime TRUE
UUID Edm.Guid TRUE
Navigations
Table 21:
Name FromEntity ToEntity
Account AccountTeam Account 1 .. 1
AccountTeamAddress AccountTeam AccountTeamAddress 1 .. 1
2.1.1.14 AccountTeamAddress
Overview
The AccountTeamAddress collection provides the E-mail ID and phone of the employee that belongs to an
account team.
Top Level Entity
Account
Properties
Table 22:
Name Type Nullable Max Length Fixed length
EMail Edm.String TRUE 765 TRUE
ObjectID Edm.String TRUE 70 TRUE
26 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Phone Edm.String TRUE 350 TRUE
2.1.2 Appointment Entity Type
The Appointment related collections allow you to read and maintain appointments and related data such as
attachments and involved parties (such as sender, recipient, account etc.)
2.1.2.1 Appointment
Overview
The Appointment collection provides information about appointments.
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/AppointmentCollection
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 27
Properties
Table 23:
Name Type Nullable Max Length Fixed length $ Search Relevant
Account c4codata.EN­
CRYPTED_LONG_
Name
true
AccountID Edm.String true 60 true
AccountUUID Edm.Guid true
AllDayEvent Edm.Boolean true
CategoryCode Edm.String true 4 true
CategoryCodeText Edm.String true
ChangedBy Edm.String true 480 true
ChangedOn Edm.DateTimeOff­
set
true
CompletionPer­
cent
Edm.Decimal true
CreatedBy Edm.String true 480 true
CreatedOn Edm.DateTimeOff­
set
true
EndDateTime c4codata.LOCAL­
˛Í(q§×Œ=ë‘y§ÿˇOo—ù¶ˆÌn{˘©†°
teTime
true
ID Edm.String false 35 true true
MyPriority Edm.String True 30 True
MyPriorityText Edm.String True 30
ObjectID Edm.String false 70 true
OrganizerID Edm.String true 60 true
OrganizerName c4codata.EN­
CRYPTED_LONG_
Name
true
OrganizerUUID Edm.Guid true
Owner c4codata.EN­
CRYPTED_LONG_
Name
true
OwnerUUID Edm.Guid true
Phone Edm.String true 350 true
PrimaryContact c4codata.EN­
CRYPTED_LONG_
Name
true
28 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
PrimaryContactID Edm.String true 60 true
PrimaryContac­
tUUID
Edm.Guid true
PriorityCode Edm.String true 1 true
PriorityCodeText Edm.String true
StartDateTime Edm.DateTimeOff­
set
true
StatusCode Edm.String true 2 true true
StatusCodeText Edm.String true
Subject Edm.String true 765 true true
TypeCode Edm.String true 15 true
TypeCodeText Edm.String true
AdditionalLoca­
tionName
Edm String true 765 true
GroupwareItemID Edm String true 765 true
LocationName Edm String true 480 true
ReportedDateTime Edm.DateTimeOff­
set
true
UUID Edm.Guid false
The Property Type Code has a default value and cannot be changed.
Navigations
Table 24:
Name From Entity To Entity Cardinality
AppointmentAttachment Appointment AppointmentAttachment 1 .. *
AppointmentInvolvedParties Appointment AppointmentInvolvedParties 1 .. *
AppointmentNotes Appointment AppointmentNotes 1 .. *
2.1.2.2 Appointment Attachment
Overview
The AppointmentAttachment collection provides information about attachments in Appointments.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 29
Top Level Entity
Appointment
Properties
Table 25:
Name Type Nullable Max Length Fixed length
AuthorName Edm.String True 40 True
AuthorUUID Edm.Guid True
CreatedBy Edm.String True 80 True
CreatedOn Edm.DateTime True
DocumentLink Edm.String True
LastUpdatedBy Edm.String True 80 True
LastUpdatedOn Edm.String True
LinkWebURL Edm.String True 80 False
MimeType Edm.String True False
ObjectID Edm.String True 70 True
ParentObjectID Edm.String True 70 True
TypeCode Edm.String True 5 True
TypeCodeText Edm.String True
UUID Edm.GUID False
2.1.2.3 Appointment Involved Parties
Overview
The Appointment Involved Parties collection provides contact information of all parties involved (such as Sender,
Recipient, Account, Employee Responsible etc.) in the appointment..
30 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 26:
Name Type Nullable Max Length Fixed length $ Search Relevant
Name c4codata.EN­
CRYPTED_LONG_
Name
true
ObjectID Edm.String false 70 true
ParentObjectIDe Edm.String true 60 true true
Address Edm.String true 480 true true
Email Edm.String true 765 true true
PartyID Edm.String true 60 true
PartyTypeCode Edm.String true 15 true
PartyUUID Edm.String true
Phone Edm.String true 350 true
RoleCode Edm.String true 10 true
RoleCodeText Edm.String true
Navigations
Table 27:
Name FromRole ToRole Cardinality
Appointment AppointmentInvolvedParties TaskAttachmenAppoint­
mentt
1.1
2.1.2.4 Appointment Notes
Overview
The AppointmentNotes collection provides information about a related appointment.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 31
Top Level Entity
Appointment
Properties
Table 28:
Name Type Nullable Max Length Fixed length
AuthorName Edm.String true 40 true
AuthorUUID Edm.Guid true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
LanguageCode Edm.String true 2 true
LanguageCodeText Edm.String true
LastUpdatedBy Edm.String true 80 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
Text Edm.String true false
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UpdatedOn Edm.DateTime true
2.1.3 BusinessPartner Entity Type
Overview
BusinessPartnerCollection provides information about all Business Partners i.e. Accounts, Individual Customers,
Contacts, Employees, Competitors, Partners etc.
ThingType property refers to the thing type associated with a business partner instance. ThingType is used for
navigation and displaying data for corresponding Business Partner in the standard UI in SAP Cloud for Customer.
The BusinessPartnerCollection is read-only and can be used to determine the correct entity type referred to in a
party collection based on the Party UUID.
32 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 29:
Name Type Description $search relevant
UUID Edm.Guid Alternative Key of BusinessPart­
ner
Yes
ThingType Edm.String Thing Type used in the UI for the
particular Business Partner
No
Mapping
Table 30:
ThingType Related C4C-BuPa-UI Corresponding C4CODATA-EntityType
COD_ACCOUNT_TT Account Account
COD_CONTACT_TT Contact Contact
COD_SEOD_ACCOUNT_TT IndividualCustomer IndividualCustomer
COD_EMPLOYEES Employee Employee
COD_COMPETITOR_TT Competitor Not applicable
COD_PARTNER_TT Partner Not applicable
COD_PARTNERCONTACT_TT PartnerContact Not applicable
2.1.4 CodeList Entity Type
The CodeList Entity Type is a Single EntityType.The EntityGroup description are not required.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 33
2.1.4.1 Codelist
Overview
The Codelist collection provides a list of codes and their corresponding descriptions for a code type collection. It is
automatically added into the service metadata if it contains any properties representing a code type.
It cannot be created, updated or deleted. This is read-only entity.
Properties
Table 31:
Name Type Nullable Max Length Fixed length $ Search Relevant
Code Edm.String false false
Description Edm.String false false
34 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.5 Contextual CodeList Entity Type
The ContextualCodeList Entity Type is a Single Entity Type. The EntityGroup description is not required.
2.1.5.1 Contextual CodeList
Overview
Contextual CodeList collection provides a list of contexts, codes, and their corresponding descriptions.
ContextualCodeList entity type is automatically added into the service metadata, if the service contains any
properties of the type.
Along with Code and Description, ContextualCodeList entity type has a context parameter for which the codes are
relevant. For example, Region in an address is contextual. A Region or State “NY” is relevant both for countries
with country codes: US and GB. If a user has to fetch all region codes of country “US”, corresponding collection
has to be filtered using Context = “US”. If a context is not provided, all the regions in the world shall be returned.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 35
Entities cannot be created, updated or deleted in the corresponding entity sets. All entity sets based on
ContextualCodeList shall be read-only. Key of the entity type includes both Code and Context.
Properties
Table 32:
Name Type Nullable Max Length Fixed length $ Search Relevant
Code Edm.String false false
Context Edm.String false false
Description Edm.String false false
36 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.6 Contact Entity Type
The Contact related collections allow you to read and maintain Contacts to Accounts and their personal
addresses
2.1.6.1 Contact Attachment
Overview
The ContactAttachment collection provides information about various attachments such as Documents, Images
etc. associated to a particular contact.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 37
Top Level Entity
Contact
Properties
Table 33:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
UUID Edm.Guid 36 true
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
MimeType Edm.String true
Binary Edm.Binary true
DocumentLink Edm.String true
Name Edm.String true
CategoryCode Edm.String false 1 true
CategoryCodeText Edm.String true
LinkWebURI Edm.String true
CreatedOn Edm.DateTime true 21 true
LastUpdatedOn Edm.DateTime true 21 True
CreatedBy Edm.String true 80 true
LastUpdatedBy Edm.String true 80 true
2.1.6.2 Contact
Overview
The Contact collection provides the contact information of a particular account. The Contacts are organized
based on the accounts from where they originate from. A contact can be related to multiple Accounts/Contacts
or can be related to a single account..
38 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/ContactCollection
Properties
Table 34:
Name Type Nullable Max Length Fixed length $ Search Relevant
CreationOn Edm.DateTime true 21 true
ChangedOn Edm.DateTime true
21 true
CreatedBy Edm.String true 40 true
ChangedBy Edm.String true 40 true
RoleCode Edm.String true 6 true
StartDate Edm.DateTime false
8 true
EndDate Edm.DateTime false 8 true
ObjectID Edm.String false 70 true
ContactName Edm.String false 480 true true
UUID Edm.Guid true 36 true
ContactID Edm.String true 10 true true
FirstName Edm.String true 240 true true
MiddleName Edm.String true 240 true
LastName Edm.String true 240 true true
AccountID Edm.String true 70 true
AccountUUID Edm.Guid true 36 true
AccountName Edm.String true 480 true true
NickName Edm.String false 240 true
MarketingLeadIn­
dicator
Edm.Boolean true 1 true
AcademicTitle­
Code
Edm.String true 4 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 39
AcademicTitleCo­
deText
EdmString true
AdditionalAcade­
micTitleCode
Edm.String true 4 true
AdditionalAcade­
micTitleCodeText
Edm.String true
ContactPermis­
sionCode
Edm.String true 1 true
ContactPermis­
sionCodeText
Edm.String true
GenderCode Edm.String true 1 true
GenderCodeText Edm.String true
MaritalStatusCode Edm.String true 1 true
MaritalStatusCo­
deText
Edm.String true
VIPContactCode Edm.String true 1 true
VIPContactCode­
Text
Edm.String true
DepartmentCode Edm.String true 4 true
DepartmentCode­
Text
Edm.String true
FunctionCode Edm.String true 4 true
FunctionCodeText Edm.String true
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
CategoryCode Edm.String true 1 true
CategoryCodeText Edm.String
StatusCode Edm.String
StatusCodeText Edm.String
LanguageCode Edm.String true 1 true
LanguageCode­
Text
Edm.String
40 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
TitleCode Edm.String true 4 true
TitleCodeText Edm.String
Navigations
Table 35:
Name From Entity To Entity Cardinality
ContactAttachment Contact ContactAttachment 1 .. *
ContactNotes Contact ContactNotes 1 .. *
ContactBusinessAddress Contact ContactBusinessAddress 1 .. 1
ContactCommunicationData Contact ContactCommunicationData 1.. *
ContactPersonalAddress Contact ContactPersonalAddress 0.. *
2.1.6.3 Contact Notes
Overview
The ContactNotes collection provides information about the notes attached to a particular contact..
Top Level Entity
Contact
Properties
Table 36:
Name Type Nullable Max Length Fixed length $Search Relevant
ParentObjectID Edm.String true 70 True
ObjectID Edm.String true
70 True
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 41
Name Type Nullable Max Length Fixed length $Search Relevant
TypeCode Edm.String true 5 True
LanguageCode Edm.String true 2 true
Text Edm.String false false
CreatedOn Edm.DateTime true
21 true
UpdatedOn Edm.DateTime true 21 true
CreatedBy Edm.DateTime true
80 True
LastUpdatedBy Edm.String true
80 true
AuthorName Edm.String true 40 True
AuthorUUID Edm.Guid true
36 true
2.1.6.4 Contact Personal Address
Overview
The ContactPersonalAddess collection provides personal address information for a contact. A particular contact
can have multiple personal address and one among them would be the default address.
Top Level Entity
Contact
Properties
Table 37:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 True
ParentObjectID Edm.String true 70 True
42 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length $Search Relevant
UUID Edm.Guid true
36 True
Address Edm.String true 480 True
Email Edm.String true 765 true
Mobile Edm.String true 350 true
Phone Edm.String true 350
true
Fax Edm.String true 350 true
Navigations
Table 38:
Name From Entity To Entity Cardinality
Contact ContactPersonalAddress Contact 1… 1
ContactPersonalAddress ContactPersonalPostalAd­
dress
ContactPersonalPostalAd­
dress
0…*
2.1.6.5 Contact Personal Postal Address
Overview
The ContactPersonalPostalAddress collection provides the postal address associated to a particular contact.
There can be multiple addresses associated to a single contact, and any one of the contact can be marked as the
default address.
Top Level Entity
ContactPersonalAddress
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 43
Properties
Table 39:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 True
ParentObjectID Edm.String true 70 True
AdditionalStreet­
PrefixName
Edm.String true 240 True
AdditionalStreet­
SuffixName
Edm.String true 240 True
CountryCode Edm.String true 3 True
CountryCodeText Edm.String true
POBox Edm.String true 100 true
AddressLine1 Edm.String true 240 true
AddressLine2 Edm.String true
240 true
HouseNumber Edm.String true 100 true
Street Edm.String true
360 True
AddressLine4 Edm.String true
240 true
AddressLine5 Edm.String true 240 True
City Edm.String true
240 true
State Edm.String true
6 True
PostalCode Edm.String true 100 true
PostalCodeText Edm.String true
POBoxPostalCode Edm.String true 100 true
POBoxPostalCode­
Text
Edm.String true
44 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Navigations
Table 40:
Name From Entity To Entity Cardinality
ContactPersonalAddress ContactPersonalPostalAd­
dress
ContactPersonalAddress 1… 1
2.1.6.6 Contact Business Address
Overview
The ContactBusinessAddress collection provides information about the accounts related to a particular contact.
A particular contact can be related to many accounts. It also includes the business address referred to by the
contact for a particular account.
.
Top Level Entity
Contact
Properties
Table 41:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 True
PostalAddress Edm.String true
480 True
FirstLineDescrip­
tion
Edm.String true 480 True
SecondLineDe­
scription
Edm.String true 480 True
PreferredCommu­
ÍR©¹È]
bŁ|£ër¤YaÎO«*´ßæðH¿ ùÖ{jý™›
peCode
Edm.String true 3 True
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 45
Name Type Nullable Max Length Fixed length $Search Relevant
UUID Edm.Guid true
36 True
Navigations
Table 42:
Name From Entity To Entity Cardinality
ContactBusinessPostalAd­
dress
ContactBusinesslAddress ContactBusinessPersonalAd­
dress
1… *
2.1.6.7 Contact Business Postal Address
Overview
The ContactBusinessPostalAddress collection provides the business/Organization postal address associated to a
particular contact account relationship. There can be multiple postal addresses maintained for a single
relationship, and any one of them can be marked as the default address
.
Top Level Entity
ContactBusinessAddress
Properties
Table 43:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 True
City Edm.String true
240 True
CountryCode Edm.String true 3 True
46 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length $Search Relevant
CountryCodeText Edm.String true
HouseNumber Edm.String true 100 True
PostalCode Edm.String true 100 True
PostalCodeText Edm.String true
State Edm.String true 6 True
StateText Edm.String true
Street Edm.String true 360 True
2.1.6.8 Contact Communication Data
Overview
The ContactCommunicationData collection provides information about the workplace addresses associated with
a particular account and contact relationship. There can be only one workplace address maintained for a
particular relationship
Top Level Entity
Contact
Properties
Table 44:
Name Type Nullable Max Length Fixed length $Search Relevant
ObjectID Edm.String true 70 True
Phone Edm.String true 350 True
EMail Edm.String true 765 True
EMailInvalid Edm.Boolean true 1 True
Fax Edm.String true 350 True
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 47
Name Type Nullable Max Length Fixed length $Search Relevant
Mobile Edm.String true 350 True
BuildingID Edm.String true 10 True
DepartmentFrom­
BusinessCard
Edm.String true 240 True
FloorID Edm.String true 10 True
JobTitle Edm.String true 240 True
RoomID Edm.String true 10 True
Navigations
Table 45:
Name From Entity To Entity Cardinality
AccountContactPersonalRe­
lationship
ContactCommunicationData AccountContactRelationship 1… 1
48 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.7 EMail Entity Type
The Email related collections allow you to read and maintain Email communication done with business partners
and related data such as attachments and recipients
2.1.7.1 EMail
Overview
The EMail collection allows you to synchronize and view E-mail communication done with business partners and
associates the E-mail with related objects such as an account, opportunity, lead, or sales quote.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 49
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/EmailCollection
Properties
Table 46:
Name Type Nullable Max
Length
Fixed length
AccountID Edm.String true 60 true
AccountName c4codata.EN­
CRYPTED_LONG_Nam
e
true
AccountUUID Edm.Guid true
DateTime c4codata.LOCALNOR­
MALISED_DateTime
false
GroupCode Edm.String true 4 true
GroupCodeText Edm.String true
ID Edm.Guid true 35 true
MessageFromPartyID Edm.DateTime true 60 true
MessageFromParty­
Name
c4codata.EN­
CRYPTED_LONG_Nam
e
true
MessageFromPar­
tyUUID
Edm.Guide true
ObjectID Edm.String true 70 true
OwnerName c4codata.EN­
CRYPTED_LONG_Nam
e
true
PriorityCode Edm.String true 1 true
PriorityCodeText Edm.Guid true
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
50 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length
SubjectName Edm.String true 765 true
TypeCode Edm.String true 15 true
TypeCodeText Edm.String true
CorrespondenceTrans­
missionStatusCode
Edm String true 2 true
MessageFromEmailURI Edm String true 254 true
MessageFromName Edm String true 255 true
UUID Edm Guid true
Navigations
Table 47:
Name FromRole ToRole Cardinality
EMailAttachment EMail EMailAttachment 1 .. *
EMailCcRecepients EMail EMailCcRecepients 1 .. *
EmailNotes EMail EmailNotes 1 .. *
EMailToRecepients EMail EMailToRecepients 1.. *
2.1.7.2 EMail Attachment
Overview
The EMailAttachment collection provides information about attachments in E-mail. For example, attachments of
E-mail associated to an account, opportunity, lead or sales quote is synchronized with SAP Cloud for Customer,
and thereby can be updated and viewed using EMailAttachmentCollection.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 51
Top Level Entity
EMail
Properties
Table 48:
Name Type Nullable Max
Length
Fixed length
Binary Edm.Biinary true false
CategoryCode Edm.String false 1 true
CategoryCode­
Text
Edm.String true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true false
LastUpdatedBy Edm.String true 80 true
LastUpdatedOn Edm.DateTime true
LinkWebURL Edm.String true false
MimeType Edm.String true false
Name Edm.String true false
ObjectID c4codata.EN­
CRYPTED_LONG_Name
true 70
ParentObjectID Edm.String true 70 true
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UUID Edm.Guid false true
52 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Navigations
Table 49:
Name FromRole ToRole Cardinality
EMailAttachment EMail EMailAttachment 1 .. *
EMailCcRecepients EMail EMailCcRecepients 1 .. *
EmailNotes EMail EmailNotes 1 .. *
EMailToRecepients EMail EMailToRecepients 1.. *
2.1.7.3 EMail Cc Recipients
Overview
The EMailCcRecipients collection provides information about all the Copied Recipients in E-mail.
Top Level Entity
EMail
Properties
Table 50:
Name Type Nullable Max Length Fixed length
Address Edm.String true 480 true
EMailID Edm.String true 765 true
Name c4codata.EN­
CRYPTED_LONG_Nam
e
true
ObjectID Edm.Stringe true 70 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 53
Name Type Nullable Max Length Fixed length
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 80 true
PartUUID Edm.Guid true
Phone Edm.String true 350 true
RoleCategoryCode Edm.String true 3 true
MessageCCEMailID Edm String true 254 true
MessageCCName Edm String true 255 true
RoleCategoryText Edm.String true
Navigations
Table 51:
Name FromEntity ToEntity Cardinality
EMail EMailCcRecepients EMail * .. 1
2.1.7.4 Email Notes
Overview
The EMailNotes collection provides information about all details in an E-mail.
Note
Notes feature allows you to add and view important information.
Top Level Entity
EMail
54 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 52:
Name Type Nullable Max
Length
Fixed length
AuthortName Edm.String true 40 true
AuthorUUID Edm.Guid true
CreatedBy Edm.String false 80 true
CreatedOn Edm.DateTime true
LanguageCode Edm.String true 2 true
LanguageCodeText Edm.String true
LastUpdatedBy Edm.String true 80 true
ObjectID Edm.String true 70 true
ParentObjectI Edm.String true 70 true
TypeCode Edm.String true false
Text Edm.String true 5 true
TypeCodeText Edm.String true
UpdatedOn Edm.DateTime true
2.1.7.5 Email To Recipients
Overview
The EMailToRecipients collection provides information about all “To” Recipients in E-mail.
Top Level Entity
EMail
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 55
Properties
Table 53:
Name Type Nullable Max
Length
Fixed length
Address Edm.String true 480 true
EMailID Edm.String true 765 true
Name c4codata.EN­
CRYPTED_LONG_Nam
e
true
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 60 true
PartyUUID Edm.Guid true
Phone Edm.DateTime true 350 true
RoleCategoryCode Edm.String true 3 true
MessageToEmailID Edm String true 254 true
MessageToName Edm String true 255 true
RoleCategoryCodeText Edm.String true
Navigations
Table 54:
Name FromRole ToRole Cardinality
EMail EMailToRecepients EMail * .. 1
56 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.8 Employee Entity Type
The Employee related collections allow you to read and maintain Employees and related data such as their
addresses.
2.1.8.1 Employee
Overview
The Employee collection provides details about internal and external employees for an organization. The
Employees have their respective roles assigned and associated to an account, team etc.
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/EmployeeCollection
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 57
Properties
Table 55:
Name Type Nullable Max Length Fixed length
AcademicTitle­
Code
Edm.String true 4 true
AcademicTitleCo­
deText
Edm.String true
DateFormatCode Edm.String true 2 true
DateFormatCode­
Text
Edm.String true
DecimalFormat­
Code
Edm.String true 2
DecimalFormatCo­
deText
Edm.String true
EmployeeID Edm.String true 20 true true
FirstName Edm.String true 240 true
InternalEm­
ployeeIndicator
Edm.Boolean true
InternalID Edm.String false 10 true
LastName Edm.String true 240 true
EndDate Edm.DateTime true
LogonLanguage­
Code
Edm.String true 1 true
LogonLanguage­
CodeText
Edm.String true true
MiddleName Edm.String true 240 true
Name Edm.String false 480 true true
NickName Edm.String true 240 true
ObjectID Edm.String false 70 true
StartDate Edm.DateTime true
SortingName Edm.String true 480 true
58 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length
TimeFormatCode Edm.String true 2 true
TImeFormatCode­
Text
Edm.String true
TimeZoneCode Edm.String true 10
TimeZoneCode­
Text
Edm.String
TitleCode Edm.String true 4 true
TitleCodeText Edm.String true
UUID Edm.Guid true
UserID Edm.String true 40 true
Navigations
Table 56:
Name FromEntity ToEntity Cardinality
EmployeeBusinessAddress Employee EmployeeBusinessAddress 1 .. *
EmployeeCommunication­
Data
Employee EmployeeCommunication­
Data
1 .. *
2.1.8.2 Employee Business Address
Overview
The EmployeeBusinessAddress collection entity provides details about the organization address of the
employees.
Top Level Entity
Employee
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 59
Properties
Table 57:
Name Type Nullable Max Length Fixed length
City Edm.String true 240 true
CountryCode Edm.String true 3 true
CountryCodeText Edm.String true
HouseNumber Edm.String true 100 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
PostalCode Edm.String true 100 true
PostalCodeText Edm.String true
StateCode Edm.String true 6 true
StateCodeText Edm.String true
Street Edm.String true 360 true
Navigations
Table 58:
Name FromEntity ToEntity Cardinality
Employee EmployeeBusinessAddress Employee * ..1
EmployeeFormattedBusines­
sAddress
EmployeeBusinessAddress EmployeeFormattedBusines­
sAddress
1 .. *
2.1.8.3 Employee Communication Data
Overview
The EmployeeCommunicationData collection entity provides workplace organization details of the employees..
60 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Top Level Entity
Employee
Properties
Table 59:
Name Type Nullable Max Length Fixed length
Buildinge Edm.String true 10 true
EMail Edm.String true 765 true
Fax Edm.String true 350 true
Floor Edm.String true 10 true
Mobile Edm.String true 350 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
Phone Edm.String true 350 true
Room Edm.String true 10 true
Navigations
Table 60:
Name FromEntity ToEntity Cardinality
Employee EmployeeCommunication­
Data
Employee * ..1
2.1.8.4 Employee Formatted Business Address
Overview
The EmployeeFormattedBusinessAddress collection entity provides the employees business address in a format.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 61
Usage Scenario
This is only a read-only entity, and cannot be created or updated. It is created automatically once address is
created.
Top Level Entity
EmployeeBusinessAddress
Properties
Table 61:
Name Type Nullable Max Length Fixed length
FormattedAddress Edm.String true 480 true
ParentObjectID Edm.String false 70 true
ObjectID Edm.String false 70 true
Navigations
Table 62:
Name FromEntity ToEntity Cardinality
EmployeeBusinessAddress EmployeeBusinessFormatte­
dAddress
EmployeeBusinessAddress * .. 1
62 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.9 External ID Mapping Entity Type
The External ID Mappping Entity Type is a Single EntityType. The EntityGroup description are not required.
2.1.9.1 External ID Mapping
Overview
The ExternalIDMapping collection entity provides mapping details of a local object identifier corresponding to an
object identifier in a remote system...
Usage Scenario
This is only a read-only entity, and cannot be created or updated.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 63
Properties
Table 63:
Name Type Nullable Max Length Fixed length
ExternalID Edm.String true 100 true
ExtneralSystemID Edm.String true 32 true
ExternalSyste­
mUUID
Edm.Guid true
ObjectID Edm.String true 70 true
ObjectTypeCode Edm.String true 15 true
ObjectTypeCode­
Text
Edm.String true
2.1.10 Individual Customer Entity Type
The Individual Customer related collections allow you to read and maintain individual customers and their
addresses.
64 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.10.1 Individual Customer
Overview
The Individual Customer collection provides information about customers who are not associated with a
corporate account, and do business with the company directly.
Such customers can be created, updated and viewed using this collection.
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/IndividualCustomerCollection
Properties
Table 64:
Name Type Nullable Max Length Fixed length
ABCClassificationCode Edm.String true 1 true
ABCClassificationCo­
deText
Edm.String true
AcademicTitleCode Edm.String true 4 true
AcademicTitleCode­
Text
Edm.String true
AdditionalStreetPrefix­
Name
Edm.String true 240 true
AdditionalStreetSuffix­
Name
Edm.String true 240 true
BillingBlockCode Edm.String true 2 true
BillingBlockCodeText Edm.String true
BuildingID Edm.String true 10 true
CareOfName Edm.String true 240 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 65
Name Type Nullable Max Length Fixed length
CatagoryCode Edm.String true 1 true
CatagoryCodeText Edm.String true
ContactPermission­
Code
Edm.String true 1 true
ContactPermissionCo­
deText
Edm.String true
CorrespondenceLan­
guageCode
Edm.String true 1 true
CorrespondenceLan­
guageCodeText
Edm.String true
CountryCode Edm.String true 3 true
CountryCodeText Edm.String true
CountyName
CustomerID Edm.String true 10 true
DateOfBirth Edm.DateTime true
DeliveryBlockCode Edm.String true 2 true
DeliveryBlockCodeText Edm.String true
DistrictName Edm.String true 240 true
EMail Edm.String true 765 true
Fax Edm.String true 350 true
FirstName Edm.String true 240 true
GenderCode Edm.String true 1 true
GenderCodeText Edm.String true
HouseID Edm.String true 100 true
Initials Edm.Boolean true 100 true
LanguageCode Edm.String true 1 true
LanguageCodeText Edm.String true
LastName Edm.String false 240 true
66 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length
MaritalStatusCode Edm.String true 1 true
MaritalStatusCodeText Edm.String true
MarketingLeadIndica­
tor
Edm.Boolean true
MiddleName Edm.String true 240 true
Mobile Edm.String true 350 true
Name Edm.String true 480 true
NationalityCode Edm.String true 3 true
NationalityCodeText Edm.String true
Nickname Edm.String true 240 true
ObjectID Edm.String true 70
OrderBlockCode Edm.Guid true 2
OrderBlockCodeText Edm.String true
Owner Edm.String true 480 true
OwnerUUID Edm.String true
OwnerID Edm.String true 10 true
POBoxDeviatingCity­
Name
Edm.String true 240 true
POBoxDeviatingCoun­
tryCode
Edm.String true 3 true
POBoxDeviatingCoun­
tryCodeText
Edm.String true
POBoxDeviatingRe­
gionCode
Edm.String true 6 true
POBoxDeviatingRe­
gionCodeText
Edm.String true
POBoxID Edm.String true 100 true
POBoxPostalCode Edm.String true 100
POBoxPostalCodeText Edm.String true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 67
Name Type Nullable Max Length Fixed length
Phone Edm.String true 350 true
PreferredCommunica­
tionMediumTypeCode
Edm.String true 3 true
PreferredCommunica­
â‘u`	˙ÏŠ´’³¹ÕVB”Ü]Ë1àY5Ž÷ÎoV÷ø9éHžþœ
Text
Edm.String true
PrefixCode Edm.String true 4 true
PrefixCodeText Edm.String true
ProfessionCode Edm.String true 4 true
ProfessionCodeText Edm.String true
RegionCode Edm.String true 6 true
RegionCodeText Edm.String true
RoleCode Edm.String true 6 true
RoleCodeText Edm.String true
SalesSupportBlock Edm.Boolean true
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
StreetName Edm.String true 360 true
StreetPostalCode Edm.String 100 true
StreetPostalCodeText Edm.String true
StreetPrefixName Edm.String true 240 true
StreetSuffixName Edm.String true 240 true
TaxJurisdictionCode Edm.String true 25 true
TaxJurisdictionCode­
Text
Edm.String true
TimeZoneCode Edm.String true 10 true
TimeZoneCodeText Edm.String true
TitleCode Edm.String true 4 true
68 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length
TitleCodeText Edm.String true
UUID Edm.String true
Web Edm.String true 1280 true
Navigations
Table 65:
Name FromRole ToRole
IndividualCustomerAttachment IndividualCustomer IndividualCustomerAttachment
IndividualCustomerCommon IndividualCustomer IndividualCustomerCommon
IndividualCustomerNotes IndividualCustomer IndividualCustomerNotes
2.1.10.2 Individual Customer Attachment
Overview
The Individual Customer Attachment collection provides information about customers who are not associated
with a corporate account, and do business with the company directly.
These attachments can be created, updated, and viewed using this collection.
Top Level Entity
IndividualCustomer
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 69
Properties
Table 66:
Name Type Nullable Max Length Fixed length
Binary Edm.Binary true false
CategoryCode Edm.String false 1
CategoryCodeText Edm.String true true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true false
LastUpdatedBy Edm.String true 80
LastUpdatedOn Edm.DateTime true
LinkWebURI Edm.String true false
MimeType Edm.String true false
Name Edm.String true false
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 701 true
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true true
UUID Edm.String false
2.1.10.3 Individual Customer Common
Overview
The IndividualCustomerCommon collection provides biographical information of customers.
70 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Top Level Entity
IndividualCustomer
Properties
Table 67:
Name Type Nullable Max Length Fixed length
AcademicTitleCode Edm.String true 4 true
AcademicTitleCode­
Text
Edm.String true
BirthDate Edm.DateTime true
BirthDateProtectedIn­
dicator
Edm.Boolean true
EndDate Edm.DateTime true
GenderCode Edm.String true 1 true
GenderCodeText Edm.String true
GivenName Edm.String true 240 true
MaritalStatusCode Edm.String true 1 true
MaritalStatusCodeText Edm.String true
MaritalStatusProtecte­
dIndicator
Edm.Boolean true
MiddleName Edm.String true 240 true
NationalityCountry­
Code
Edm.String true 3 true
NationalityCountryCo­
deText
Edm.String true
NonVerbalCommunica­
tionLanguageCode
Edm.String true 1 true
NonVerbalCommunica­
tionLanguageCodeText
Edm.String true
ObjectID Edm.String true 70 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 71
Name Type Nullable Max Length Fixed length
OccupationCode Edm.String true 4 true
OccupationCodeText Edm.DateTime true
ParentObjectID Edm.String true 70 true
StartDate Edm.DateTime true
Navigations
Table 68:
Name FromEntity ToEntity Cardinality
IndividualCustomerCommon IndividualCustomerCommon IndividualCustomer 1..*
2.1.10.4 Individual Customer Notes
Overview
The IndividualCustomerNotes collection allows you to add more information about a Customer.
Top Level Entity
IndividualCustomer
Properties
Table 69:
Name Type Nullable Max Length Fixed length
AuthorName Edm.Binary true 40 true
72 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length
AuthorUUID Edm.Guide true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true false
LanguageCode Edm.String true 2 true
LanguageCodeText Edm.String true
LastUpdatedBy Edm.String true 80 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
Text Edm.String true false
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true true
UpdatedOn Edm.DateTime true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 73
2.1.11 Lead Entity Type
The lead related collections allow you to read and maintain sales leads and related data such as products, parties
involved and business transaction document references.
2.1.11.1 Lead
Overview
The Lead collection(LeanLead) represents an individual or organization that a company has the potential to do
business with and is based on a similar SAP CRM functionality.
74 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeadCollection
Attribute Definition
Table 70:
Name Type Nullable Max
Length
Fixed length $Search Relevant
ID (ID ) Edm.String true 35 true
Category (Group­
Code)
Edm.String true 4 true
Source (OriginType­
Code)
Edm.String true 3 true
Priority (Priority­
Code)
Edm.String true 1 true
End Date (End Date) Edm.DateTime true true
Start Date (Start
Date)
Edm.DateTime true true
Processing Type
(ProcessingTypeCo­
delea)
Edm.String true 4 true
Qualification Level
(QualificationLevel­
Code)
Edm.String true 2 true
Reason Code (Resul­
tReasonCode)
Edm.String true 3 true
Approval Status (Ap­
provalStatusCode)
Edm.String true 2 true
Consistency Status
(ConsistencyStatus­
Code)
Edm.String true 2 true
Survey Score (Sur­
veyTotalScoreValue)
Edm.Int true 32 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 75
Name Type Nullable Max
Length
Fixed length $Search Relevant
Creation Date Time
(CreationDateTime)
Edm.DateTimeOffset true 7 true
Distribution Channel
(DistributionChannel­
Code)
Edm.String true 2 true
Division (Division­
Code)
Edm.String true 2 true
SalesGroupUUID Edm.Guid true
Sales Group (Sales­
GroupID)
Edm.String true 20 true
SalesOfficeID Edm.Guid true 20 true
SalesOfficeUUID Edm.Guid true
Sales Organisation
(SalesOrganisatio­
nID)
Edm.String true 20 true
SalesOrganisatio­
nUUID
Edm.Guid true
SalesTerritoryID
(SalesTerritoryID)
Edm.String true 6 true
Sales Territory Name
(SalesTerritory­
Name)
Edm.String true 40
Owner Party ID
(Sales) (OwnerPar­
tyIDSales)
Edm.String true 60 true
Owner UUID (Sales)
(OwnerUUIDSales)
Edm.Guid true
Owner (Sales) (Own­
erSalesName)
Edm.String true 480 true
Marketing Unit Party
ID (MarketingUnit­
PartyID)
Edm.String true 60 true
76 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
Marketing Unit Party
UUID (MarketingUnit­
PartyUUID)
Edm.Guid true
Marketing Unit Name
(MarketingUnit­
Name)
Edm.Grid true 480
Account Party ID (Ac­
countPartyID)
Edm.String true 60 true
Account Party UUID
(AccountPartyUUID)
Edm.Guid true
AccountPartyName Edm.String true 480
Main Contact ID
(ContactID)
Edm.String true 60 true
Contact UUID (Con­
tactUUID)
Edm.Guid true
Main Contact Name
(ContactName)
Edm.String true 480
Owner Party ID
(OwnerPartyID)
Edm.String true 60 true
Owner Party UUID
(OwnerPartyUUID)
Edm.Guid true
OwnerPartyName Edm.String true 480
Sales Unit Party ID
(SalesUnitPartyID)
Edm.String true 60 true
Sales Unit Party
UUID (SalesUnitPar­
tyUUID)
Edm.Guid true
Sales Unit Name
(SalesUnitName)
Edm.String true 480
Expected Revenue
Value (ExpectedRe­
venueAmount)
Edm.Decimal true 28
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 77
Name Type Nullable Max
Length
Fixed length $Search Relevant
Expected Revenue
Amount Currency
(ExpectedRevenue­
CurrencyCode)
Edm.String true 3 true
Name (Name) Edm.String 255
Name Language
Code (NameLangua­
geCode)
Edm.String true 1 true
Company (Company) Edm.String true 40
Contact First Name
(ContactFirstName)
Edm.String true 40
ContactLastName
Contact Last Name)
Edm.String true 40
Contact Information
Phone (Contact­
Phone)
Edm.String true 40 true
Contact Information
Mobile (ContactMo­
bile)
Edm.String true 40 true
Contact Information
E-Mail (ContactE­
mail)
Edm.String true 100 true
Customer Informa­
tion City (AccountC­
ity)
Edm.String true 40 true
Customer Informa­
tion State (Account­
State)
Edm.String true 6 true
Customer Informa­
tion Country (Ac­
countCountry)
Edm.String true 3 true
Campaign ID (Cam­
paignID)
Edm.String true 35 true
EmployeeResponsi­
bleUUID
Edm.Guid
78 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
Account Information
Additional Name
(CompanySecond­
Name)
Edm.String true 40 true
Account Information
Additional Name 2
(CompanyThird­
Name)
Edm.String true 40 true
Account Information
Additional Name 3
(CompanyFourth­
Name)
Edm.String true 40 true
Account Information
ABC Classification
(OrganisationAc­
JÞ†[…Tz=ÌÅ€qL™´tMy²¯9$NZOLKÓ
˙ëÈ�D
˜
tionCode)
Edm.String true 1 true
Account Information
Industry (Organisa­
JÞ†L…R`=ÌÅ0€SL³´XMO²�91tZRLFÓ˜˙ñȺDˇëå85f˝e
SectorCode)
Edm.String true 10
Customer Informa­
tion Contact Permis­
sion (Organisatio­
JÞ†V…zl=ÁÅ˚€EL¾´CMy²¬9+IZ]LAÓ˚˙ÃÈ¢Dëã!I
wedCode)
Edm.String true 1
Contact Middle Name
(ContactMiddle­
Name)
Edm.String true 40
Contact Information
Gender (ContactGen­
derCode)
Edm.String true 1 true
Contact Information
Academic Title (Con­
JÞ†L…Zl=ÖÅ0€SL±´SM_²®9,^ZhLKÓ˚˙îÈ«d{
Code)
Edm.String true 4 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 79
Name Type Nullable Max
Length
Fixed length $Search Relevant
Contact Information
Additional Academic
Title (ContactAdditio­
,*àá
VàÉbVX{£dJyýÌ#‹˙~˘Ç†çh?Y˛ñw
Code)
Edm.String true 4 true
Contact Information
Contact Permission
(ContactAllowed­
Code)
Edm.String true 1 true
Contact Information
Title (ContactFormO­
fAddressCode)
Edm.String true 4 true
Contact Information
Nickname (Contact­
NickName)
Edm.String true 40
Contact Information
Marital Status (Con­
,*àû
VàÆbcXU£dyñÌ:‹q˘À†ç}?A˛Ñk
Code)
Edm.String true 1 true
Contact Information
Function (Business­
,*àß
Và×bcXv£`yÊÌ+‹˚|˘ç†çs?[˛ÑKjÍp�E
,*àÍ
BàÖb~Xv£`]yëÌ˚‹o˘ç†çy?G˛%ÑKmÍc�E
tionTypeCode)
Edm.String true 4 true
Contact Information
Department (Busi­
,*àá
RàÖbdXH£dyìÌ ‹o˘Á†çp?T˛ÑKlÍn�E
,*àü
_àÌbgXZ£p]yñÌ ‹n˘à†1ç}?G˛Ñ	KfÍr�E
FunctionalAreaCode)
Edm.String true 4 true
Contact Information
Engagement Score
(BusinessPartnerRe­
,*àã
VàÑb~Xw£k]yðÌ'‹X˘ý†ç}?R˛ñw
,*àâ
RàËbcXK£fAyêÌ+‹h˘þ†çy?G=s
Value)
Edm.String true 100 true
Contact Information
VIP Contact (Busi­
,*àá
RàÖbdXH£dyìÌ ‹o˘Á†çp?T˛ÑKlÍn�E
,*àü
_àÌbgX[£j@yìÌ/‹i˘Å†(çL?g˛Ñk
sonCode)
Edm.String true 1 true
80 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
Contact Information
Language (Contact­
x€ßô=qùÌü‹Ì��ıÂ%e˝¾@Þ`
ËËЯä®ÿÁ$ÄÌÄÕ.
guageCode)
Edm.String true 1 true
Individual Customer
Information Title (In­
x€øô;qýÌç‹Í�ŽıÓ%f˝fi@Ï`˙ËÑУä¦ÿè$×ÌìõQ7v|V
mOfAddressCode)
Edm.String true 4 true
Individual Customer
Information Aca­
demic Title (Individu­
x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`)ËÆÐ�ä¯ÿè$ÈÌÃõ]
TitleCode)
Edm.String true 4 true
First Name of Indiv.
Customer (Individu­
x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`/ËÌкä®ÿãµ
Name)
Edm.String true 40
Last Name of Indiv.
Customer (Individu­
x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`.ËÄСä¢ÿá$Üìº
Name)
Edm.String true 40
Middle Name of Indiv.
Customer (Individu­
x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`%ËÌШä¯ÿá$Àìº
Name)
Edm.String true 40
Individual Customer
Information Gender
(IndividualCustomer­
GenderCode)
Edm.String true 1 true
Individual Customer
Information Contact
Permission (Individu­
x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`+ËÊТä¿ÿì$ÆÌÞõ�7h|V
lowedCode)
Edm.String true 1 true
Individual Customer
Information Marital
Status (Individual­
x€ßô'qøÌú‹Æ�†ı×%x˝š@Û`ˆËÌиäªÿá$öÌÞõ_
tusCode)
Edm.String true 1 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 81
Name Type Nullable Max
Length
Fixed length $Search Relevant
Individual Customer
Information ABC
Classification (Indi­
˚R¶J‹•ìÖÊð‘°¥,·‹Cÿ‚F rX[]¿§ÌM/šM
ClassificationCode)
Edm.String true 1 true
Individual Customer
Information National­
ity (IndividualCusto­
˚R¶Q‹„ìÀÊË‘¨¥·™Câ‚S rI[V¿¥Ì`/«|3I×
tryCode)
Edm.String true 3 true
Individual Customer
Information Date of
Birth (IndividualCus­
tomerBirthDate)
Edm.DateTime true true
Individual Customer
Information Profes­
sion (IndividualCus­
˚R¶H‹ƒìßÊà‘˛fi¥
·žCù‚B
ˇrT[@¿‹ì˜
Code)
Edm.String true 4 true
Individual Customer
Information Initials
(IndividualCustomer­
InitialsName)
Edm.String true 100
Individual Customer
Information Prefix
(IndividualCustomer­
NamePrefixCode)
Edm.String true 4 true
Individual Customer
Information Lan­
guage (Individual­
˚R¶�‹œìÁÊñ‘±¥
·‘C‚] ;rX[]¿—Ìn/²M
˚R¶�‹ƒìßÊ葈²¥·žCí‚F rS[c¿⁄ÌaÎ
guageCode)
Edm.String true 1 true
Individual Customer
Information Phone
(IndividualCustomer­
Phone)
Edm.String true 40
82 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
Individual Customer
Information E-Mail
(IndividualCusto­
merEMail)
Edm.String true
Individual Customer
Information Mobile
(IndividualCustomer­
Mobile)
Edm.String true 40
Individual Customer
Information Postal
Code (AccountPosta­
ª´ã:hC½Æ¨ÀıÁlcMOˆòW‡2“�¿—éb¦¹¿ı�[‘Ú
StreetPostalCode)
Edm.String true 10
Account Information
County (AccountPos­
ª´ãhc½Î¨åı×lbMNˆäW´-““¿–éb¦º¿‰�F¯¾„-æ÷
CountyName)
Edm.String true 40
Account Information
Address Line 1 (Ac­
ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É
lementsStreetPrefix)
Edm.String true 40
Account Information
Address Line 2 (Ac­
ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É
ª´ã:hg½Ï¨ÁıÝlrMOˆÀW£:“¡¿šén¦¸¿•�I¯¦¬N
StreetPrefixName)
Edm.String true 40
Individual Customer
Information Street
(AccountPostalAd­
ª´ã2hp½Ç¨×ıÀlCMPˆäWª;“¦¿šét¦—¿ı�Z¯¯„;ÆfiÉ
Name)
Edm.String true 60
Account Information
Address Line 4 (Ac­
ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É
lementsStreetSufix)
Edm.String true 40
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 83
Name Type Nullable Max
Length
Fixed length $Search Relevant
Account Information
Address Line 5 (Ac­
0InßÞrœÖ£$qfl‡Ôvrnfl¬î2=h#…ï¨ˇ²dH
M,b²—Me
0InÐÞxœÎ£/q”¦Ôjrfl¼î7=m…⨲xHR
StreetSuffixName)
Edm.String true 40
Account Information
House Number (Ac­
0InßÞrœÖ£$qfl‡Ôvrnfl¬î2=h#…ï¨ˇ²dH
M,b²—Me
lementsHouseID)
Edm.String true 10 true
Account Information
P.O.Box (Account­
0InìÞrœÐ£q†¾ÔXryfl¼î!=a…ø¨8²zH
1.
mentsPOBoxID)
Edm.String true 10 true
Account Information
Phone (Account­
Phone)
Edm.String true 40
Account Information
E-Mail (AccountE­
Mail)
Edm.String true
Account Information
Mobile (AccountMo­
bile)
Edm.String true 40
Account Information
Fax (AccountFax)
Edm.String true 40
Account Information
Web Site (Account­
Website)
Edm.String true
AccountLatitude­
MeasureUnitCode
Edm.String true 3 true
Account Information
Latitude (AccountLa­
titudeMeasure)
Edm.Decimal true 31
AccountLongitude­
MeasureUnitCode
Edm.String true 3 true
84 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
Account Information
Longitude (Accoun­
tLongitudeMeasure)
Edm.Decimal true 31
Account Information
Language (Account­
ŠG−Ë'I$eł;ƒ¹´•Uõ„þK,9µGu_	[‘Z
guageCode)
Edm.String true 1 true
AccountPreferred­
ŠG−Ë'I$zł$ƒ©´ŽUù„ñK9¹Fu˛_![ë¯+
diumTypeCode
Edm.String true 3 true
Contact Information
Job Title (Contact­
ŠG−Î'S$ył*ƒ¨	´�Uô„ñK$9—@u_[ë¯+
Name)
Edm.String true 40
Contact Information
Department from
Business Card (Con­
ŠG−ü'G$tł=ƒŸ´•Uû„âK9½Lu˛_˘{ž
Name)
Edm.String true 40
Contact Information
E-Mail Invalid (Con­
ŠG−ü'G$tł=ƒŽ-´‚Uó„üK˛9£Hu_	[Ê‘^
pfJFå
dIndicator)
Edm.String true 1 true
Contact Information
Fax (ContactFacsimi­
ŠG−ä'C$Qłƒ®
´‚Uî„äK-9´gu_[ì‘^	
Description)
Edm.String true 40
Contact Information
Building (Contact­
BuildingID)
Edm.String true 10 true
Contact Information
Floor (Contact­
FloorID)
Edm.String true 10 true
Contact Information
Room (ContactRoo­
mID)
Edm.String true 10 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 85
Name Type Nullable Max
Length
Fixed length $Search Relevant
Account Information
Legal Form (Accoun­
tLegalForm)
Edm.String true 2 true
Account Information
D-U-N-S (Account­
DUNS)
Edm.String true 60
Note (Note) Edm.String true
Account Information
Note (ORG_AC­
COUNT_NOTES)
Edm.String true
Contact Information
Note (ContactNote)
Edm.String true
Table 71: Navigation
Name From Entity To Entity Cardinality
LeanLeadAttachmentFolder LeanLead LeanLeadAttachmentFolder 0.. *
LeanLeadSalesAndMarke­
tingTeam
LeanLead LeanLeadSalesAndMarke­
tingTeam
0.. *
LeanLeadExternalParty LeanLead LeanLeadExternalParty 0.. *
LeanLeadItem LeanLead LeanLeadItem 0.. *
LeanLeadContact LeanLead LeanLeadContact 0.. *
LeanLeadBusinessTransac­
tionDocumentReference
LeanLead LeanLeadBusinessTransac­
tionDocumentReference
0.. *
2.1.11.2 Lead Attachment
Overview
The LeanLeadAttachmentFolder collection provides information about existing attached documents in the Leads.
86 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadAttachmentFolderCollection
Table 72: Attribute Definition
Name Type Nullable Max Length Fixed Length $Search Relevant
Binary Edm.String true false
CatagoryCode Edm.String false 1 true
CatagoryCodeText Edm.String true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true
LastUpdatedBy Edm.String false 80 true
LastUpdatedOn Edm.DateTime true
LinkWebURL Edm.String true false
MimeType Edm.String true false
Name Edm.String true false
ObjectID Edm.String true 70 true
PrimaryObjectID Edm.String true 70 true
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UUID Edm.Guid false
2.1.11.3 Lead Business Document Relationship
Overview
The LeanLeadBusinessTransactionDocumentReference collection provides information about business
document references for leads.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 87
Top Level Entity
LeanLead
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadBusinessTransactionDocumentReference
Collection
Table 73: Properties
Name Type Nullable Max Length Fixed Length $Search Relevant
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
ID Edm.String true 35
TypeCode Edm.String true 15 true
UUID Edm.String true true
ItemID Edm.String true 10 true
ItemTypeCode Edm.String true 5 true
ItemUUID Edm.Guid true
BusinessTransac­
−•“|Ú°Ì×ÈÍ„¡×LgæR,œ7Iüt
−¾'ˆfÍcã
tionshipRoleCode
Edm.String true 3 true
Table 74: Notifications
Name FromEntity ToEntity Cardinality
LeanLead LeanLeadBusinessTransac­
tionDocumentReference
LeanLead 1 .. 1
Appointment LeanLeadBusinessTransac­
tionDocumentReference
Appointment 1 .. 1
PhoneCall LeanLeadBusinessTransac­
tionDocumentReference
PhoneCall 1 .. 1
EMail LeanLeadBusinessTransac­
tionDocumentReference
EMail 1 .. 1
88 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name FromEntity ToEntity Cardinality
Task LeanLeadBusinessTransac­
tionDocumentReference
Task 1 .. 1
2.1.11.4 Lead Involved Parties
Overview
The LeanLeadInvolvedParties collection provides information about involved parties in the leads.
Top Level Entity
LeanLead
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadExternalPartyCollection
Table 75: Properties
Name Type Nullable Max Length Fixed Length $Search Relevant
EMail Edm.String true 765 true
Mobile Edm.String true 350 true
PartyName Edm.String true 480
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 60
PartyUUID Edm.String true
Phone Edm.String true 350 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 89
Name Type Nullable Max Length Fixed Length $Search Relevant
MainIndicator Edm.String true
MainPartyContact­
PartyID
Edm.String true 60 true
MainPartyContact­
PartyName
Edm.String true
MainPartyContact­
PartyUUID
Edm.String true
RoleCode Edm.String true 10 true
Table 76: Navigation
Name FromEntity ToEntity Cardinality
LeanLead LeanLeadExternalParty LeanLead 1 .. 1
2.1.11.5 Lead Sales and Marketing Team
Overview
The LeanLeadSalesAndMarketingTeam collection provides information about sales and marketing team of leads.
Top Level Entity
LeanLead
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadSalesAndMarketingTeamCollection
90 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Table 77: Properties
Name Type Nullable Max Length Fixed Length $Search Relevant
EMail Edm.String true 765 true
Mobile Edm.String true 350 true
PartyName Edm.String true
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 60
PartyUUID Edm.Guidt true
Phone Edm.String true 350 true
MainIndicator Edm.String true
RoleCode Edm.String true 10 true
Table 78: Navigations
Name FromEntity ToEntity Cardinality
LeanLead LeanLeadSalesAndMarke­
tingTeam
LeanLead 1 .. 1
2.1.11.6 Lead Product
Overview
The LeanLeadItem collection provides information about products in the Leads.
Top Level Entity
LeanLead
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 91
Table 79: Properties
Name Type Nullable Max Length Fixed Length $Search Relevant
ProductCategory­
Description
Edm.String true 80
ProductCategor­
yInternalID
Edm.String true 20 true
Description Edm.String true 40
ID Edm.String true 10 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
ProductID Edm.String true 60
Quantity Edm.Decimal true 31
unitCode Edm.String True 3
Table 80: Navigations
Name FromEntity ToEntity Cardinality
LeanLead LeanLeadItem LeanLead 1 .. 1
2.1.11.7 Lead Contact
Overview
The LeanLeadContact collection provides information about all the contacts related to an account of the lead.
This collection cannot be created using OData service. There is a main single contact and multiple contacts for an
opportunity.
Top Level Entity
LeanLead
92 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadContactCollection
Table 81: Properties
Name Type Nullable Max Length Fixed Length
PartyID Edm.String false 1 true
PartyUUID Edm.UUID true false
EMail Edm.String true 80 true
Mobile Edm.DateTime true
PartyName Edm.String true 80 true
ObjectID Edm.DateTime true
Phone Edm.String true false
MainIndicator Edm.Boolean true false
Table 82: Navigations
Name FromEntity ToEntity Cardinality
LeanLead LeanLead_LeanLeadContact LeanLead 1 .. 1
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 93
2.1.12 Sales Lead Entity Type
The Sales Lead related collections allow you to read and maintain Sales Leads and related data such as products,
parties involved and business transaction document references.
2.1.12.1 Sales Lead
Overview
The Sales Lead collection provides information about existing Sales Leads.
94 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Request Elements
URL
https://CloudTenant/sap/c4c/odata/v1/c4codata/LeadCollection
Properties
Table 83:
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
AccountID Edm.String true 60 true
AccountName c4codata.EN­
CRYPTED_LONG_Na
me
true
AccountUUID Edm.Guid true
CatagoryCode Edm.String true 4 true
CatagoryCodeText Edm.String true
ChangedBy Edm.String true 480 true
ChangedByUUID Edm.Guid true
ChangedOn Edm.DateTime true
ConversionStatus­
Code
Edm.String true 2 true
ConversionStatusCo­
deText
Edm.String true
CreatedBy Edm.String true 480 true
CreatedByUUID Edm.Guide true
CreatedOn Edm.DateTimeOffset true
EndDate Edm.DateTime true
LeadConsistancy­
Code
Edm.String false 2 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 95
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
LeadConsistancyCo­
deText
Edm.String true
LeadID Edm.String true 35 true true
MarketingOwnerFor­
mattedName
Edm.String true 480 true
MarketingOwnerID Edm.String true 60 true
MarketingOwner­
UUID
Edm.Guid true
MarketingOwnerFor­
mattedName
Edm.String true 480 true
MarketingUnitUUID Edm.Guid false
Name c4codata.EX­
TENDED_Name
false
ObjectID Edm.String false 70 true
PrimaryContactUUID Edm.Guid true
PriorityCode Edm.String true 1 true
PriorityCodeText Edm.String true
ProcessingDatePer­
iod
c4co­
b¬gÝ'Í“ö1J9A5¤˛£ê!Õê˚A3ø˜Å”)
Period
true
QualificationLevel­
Code
Edm.String true 2 true
QualificationLevelCo­
deText
Edm.String true
ReasonForStatus­
Code
Edm.String false 2 true
ReasonForStatusCo­
deText
Edm.String true
SalesOwnerID Edm.String true 60 true
SalesOwnerUUID Edm.Guid true
96 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
SalesTerritoryID Edm.String true 6 true
SalesTerritoryUUID Edm.Guid true
SalesUnitID Edm.String true 60 true
SalesUnitUUID Edm.Guid true
SourceCode Edm.String true 3 true
SourceCodeText Edm.String true
StartDate Edm.DateTime true
StatusCode Edm.String false 2 true
StatusCodeText Edm.String true
UUID Edm.Guid true
Navigations
Table 84:
Name FromEntity ToEntity Cardinality
LeadAttachment Lead LeadAttachment 1 .. *
LeadBusinessDocumentRe­
ference
Lead LeadBusinessDocumentRe­
ference
1 .. *
LeadInvolvedParties Lead LeadInvolvedParties 1 .. *
LeadProduct Lead LeadProduct 1 .. *
LeadSalesAndMarketing­
Team
Lead LeadSalesAndMarketing­
Team
1 .. *
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 97
2.1.12.2 Sales Lead Attachment
Overview
The LeadAttachment collection provides information about existing attached documents in Sales Leads.
Top Level Entity
Lead
Properties
Table 85:
Name Type Nullable Max
Length
Fixed length $Search Relevant
Binary Edm.String true false
CatagoryCode Edm.String false 1 true
CatagoryCodeText Edm.String true
CreatedBy Edm.String true 80 true
CreatedOn Edm.DateTime true
DocumentLink Edm.String true
LastUpdatedBy Edm.String false 80 true
LastUpdatedOn Edm.DateTime true
LinkWebURL Edm.String true false
MimeType Edm.String true false
Name Edm.String true false
ObjectID Edm.String ture 70 true
PrimaryObjectID Edm.String true 70 true
98 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max
Length
Fixed length $Search Relevant
TypeCode Edm.String true 5 true
TypeCodeText Edm.String true
UUID Edm.Guid false
2.1.12.3 Sales Lead Business Document Reference
Overview
The LeadBusinessDocumentReference collection provides information about business document references for
Sales Leads.
Top Level Entity
Lead
Properties
Table 86:
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
ID Edm.String true 35
TypeCode Edm.String true 15 true
TypeCodeText Edm.String true true
UUID Edm.String true true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 99
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
ItemID Edm.String true 10 true
ItemTypeCode c4codata.EN­
CRYPTED_LONG_Na
me
true 5 true
ItemTypeCodeText Edm.String true
ItemUUID Edm.Guid true
BusinessTransac­
m²DÅ˛‘k�Yó¹B·@
«fiªP)²%1/•ŁÅ[�àÊ
tionshipRoleCode
Edm.String true 3 true
BusinessTransac­
m²DÅ˛‘k�Yó¹B·@
«fiªP)²%1/•ŁÅ[�àÊ
m²DÅ˛‘k�Yó”B·J
®fiŁP
)°% /-•�ň[©àÊ
Text
Edm.String true
Navigations
Table 87:
Name FromEntity ToEntity Cardinality
Lead LeadBusinessDocumentRe­
ference
Lead 1 .. 1
Lead LeadBusinessDocumentRe­
ference
Opportunity 1 .. 1
Lead LeadBusinessDocumentRe­
ference
Appointment 1 .. 1
Lead LeadBusinessDocumentRe­
ference
EMail 1 .. 1
Lead LeadBusinessDocumentRe­
ference
PhoneCall 1 .. 1
100 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.12.4 Sales Lead Involved Parties
Overview
The LeadInvolvedParties collection provides information about involved parties in Sales Leads.
Top Level Entity
Lead
Properties
Table 88:
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
EMail Edm.String true 765 true
Mobile Edm.Strin true 350 true
Name c4codata.EN­
CRYPTED_LONG_Na
me
true
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 60
PartyUUID Edm.Guidt true
Phone Edm.String true 350 true
Primary Edm.String true
PrimaryContactID Edm.String true 60 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 101
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
PrimaryContact­
Name
c4codata.EN­
CRYPTED_LONG_Na
me
true
PrimaryContactUUID Edm.String true
RoleCode Edm.String true 10 true
RoleCodeText Edm.String true
Navigations
Table 89:
Name FromEntity ToEntity Cardinality
Lead LeadInvolvedParties Lead 1 .. 1
2.1.12.5 Sales Lead Product
Overview
The LeadProduct collection provides information about products in Sales Leads.
Top Level Entity
Lead
102 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Properties
Table 90:
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
Category c4codata.ME­
DIUM_Description
true
CategoryID Edm.String true 20 true
Description Edm.String true
ID c4co­
zuwÚQx†NÛ¤8ï’.ljŽÛécł.ÙO⁄E•®ZЃ¿1¸·ï#a
tion
true 10 true
ObjectID Edm.String true 70 true
ParentObjectID Edm.String true 70 true
ProductID Edm.String true 60
Quantity c4codata.Quantity true
Navigations
Table 91:
Name FromEntity ToEntity Cardinality
Lead LeadProduct Lead 1 .. 1
2.1.12.6 Lead Sales and Marketing
Overview
The LeadSalesAndMarketingTeam collection provides information about Sales and Marketing team of Sales
Leads.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 103
Top Level Entity
Lead
Properties
Table 92:
Name Type Nullable Max
Lengt
h
Fixed length $Search Relevant
Email Edm.String true 765 true
Mobile Edm.Strin true 350 true
Name c4codata.EN­
CRYPTED_LONG_Na
me
true
ObjectID Edm.String false 70 true
ParentObjectID Edm.String true 70 true
PartyID Edm.String true 60
PartyUUID Edm.Guidt true
Phone Edm.String true 350 true
Primary Edm.String true
RoleCode Edm.String true 10 true
RoleCodeText Edm.String true
Navigations
Table 93:
Name FromEntity ToEntity Cardinality
Lead LeadInvolvedParties Lead 1 .. 1
104 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
2.1.13 Opportunity Entity Type
The Opportunity related collections allow you to read and maintain Opportunities and related data such as
products, sales teams and parties involved and sales activities performed.
2.1.13.1 Opportunity
Overview
The Opportunity collection provides information about all opportunities, and these opportunities represent
potential sales. They can be displayed, edited, and even new ones can be created. Opportunities that are
converted from Lead can also be edited.
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 105
Properties
Table 94:
Name Type Nullable Max Length Fixed length
AccountID Edm.String true 60 true
AccountName Edm.String true
AccountUUID true
ApprovalStatusCode Edm.String true 2
ApprovalStatusCode­
Text
CatagoryCode Edm.String true 4 true
CatagoryCodeText Edm.String true
ChangedBy Edm.String true 480 true
ChangedByUUID Edm.Guid true
ChangedOn Edm.DateTime true
CloseDate Edm.DateTime true
ConsistencyStatus­
Code
Edm.String true
ConsistencyStatusCo­
deText
Edm.String true 2
CreatedByFormatted­
Name
Edm.String true 480
CreatedByUUID Edm.String true
CreatedOn Edm.DateTime true
CustomStatusCode Edm.String true 5 true
CustomStatusCode­
Text
Edm.String true
DistributionChannel­
Code
Edm.String true 2 true
DistributionChannelCo­
deText
Edm.String true
DivisionCode Edm.String true 2 true
106 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
Name Type Nullable Max Length Fixed length
DivisionCodeText Edm.String true
DocumentTypeCode Edm.String true 4 true
DocumentTypeCode­
Text
Edm.String true
ExpectedValue false
ForcastCatagoryCode Edm.String true 4 true
ForcastCatagoryCode­
Text
Edm.String true
LastChangeDate Edm.DateTime true
Name false
ObjectID Edm.String false 70 true
OpportunityID Edm.String true 35 true
OwnerID Edm.String true 60 true
OwnerName true
OwnerUUID Edm.Guid true
PrimaryContactID Edm.Sraing
PrimaryContactName c4codata.EN­
CRYPTED_LONG_Na
me
false
PrimaryContactUUID Edm.Guid true
PriorityCode Edm.String true 1 true
PriorityCodeText Edm.String true
ProbabilityPercent Edm.Decimal true
ProgressCode Edm.String true 2 true
ProgressCodeText Edm.String true
PublishToForcast Edm.Boolean true
ReasonForStatusCode Edm.DateTime true 3 true
SAP Hybris Cloud for Customer – OData Services
OData API Reference P U B L I C 107
Name Type Nullable Max Length Fixed length
ReasonForStatusCode­
Text
Edm.String true
SalesCycleCode Edm.String true 3 true
SalesCycleCodeText Edm.String
SalesGroupID Edm.String true 20 true
SalesOfficeID Edm.String true 20 true
SalesOrganisationID Edm.String true 20 true
SalesOrganisationUUID Edm.Guid true
SalesPhaseCode Edm.String true 3 true
SalesPhaseCodeText Edm.String true
SalesTerritoryID Edm.String true 6 true
SalesTerritoryUUID Edm.Guid true
SalesUnitID Edm.String true 60 true
SalesUnitUUID Edm.Guid true
SourceCode Edm.String true 3 true
SourceCodeText Edm.String true
StartDate Edm.StartDate true
StatusCode Edm.String true 2 true
StatusCodeText Edm.String true
TotalNegotiatedValue Edm.String false
UUID Edm.Guid false
WeightedValue Edm.String false
108 P U B L I C
SAP Hybris Cloud for Customer – OData Services
OData API Reference
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf
ODATA_APIs.pdf

More Related Content

Similar to ODATA_APIs.pdf

Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...Banking at Ho Chi Minh city
 
ZebraNet Bridge Enterprise - Manual do Software
ZebraNet Bridge Enterprise - Manual do SoftwareZebraNet Bridge Enterprise - Manual do Software
ZebraNet Bridge Enterprise - Manual do SoftwareUseZ
 
The ARJEL-compliant Trusted Solution For Online Gambling And Betting Operators
The ARJEL-compliant Trusted Solution For Online Gambling And Betting OperatorsThe ARJEL-compliant Trusted Solution For Online Gambling And Betting Operators
The ARJEL-compliant Trusted Solution For Online Gambling And Betting OperatorsMarket Engel SAS
 
WebSphere Business Integration for SAP
WebSphere Business Integration for SAPWebSphere Business Integration for SAP
WebSphere Business Integration for SAPlargeman
 
SAP_Advanced_Track_Trace_Application_Help_EN.pdf
SAP_Advanced_Track_Trace_Application_Help_EN.pdfSAP_Advanced_Track_Trace_Application_Help_EN.pdf
SAP_Advanced_Track_Trace_Application_Help_EN.pdfSandeep898442
 
Sap s4 hana 1709 op sap api-master guide
Sap s4 hana 1709 op sap api-master guideSap s4 hana 1709 op sap api-master guide
Sap s4 hana 1709 op sap api-master guidemutia_arum
 
ADMINISTRATION GUIDE PUBLIC Employee Central Imports THE BEST RUN Content
ADMINISTRATION GUIDE   PUBLIC Employee Central Imports THE BEST RUN ContentADMINISTRATION GUIDE   PUBLIC Employee Central Imports THE BEST RUN Content
ADMINISTRATION GUIDE PUBLIC Employee Central Imports THE BEST RUN ContentAngela Tyger
 
software-eng.pdf
software-eng.pdfsoftware-eng.pdf
software-eng.pdffellahi1
 
UITECH_OP1909_latest.pdf
UITECH_OP1909_latest.pdfUITECH_OP1909_latest.pdf
UITECH_OP1909_latest.pdfpraveenRapeti3
 
Another example PDF
Another example PDFAnother example PDF
Another example PDFocchris
 
Another example PDF
Another example PDFAnother example PDF
Another example PDFocchris
 
Essbase database administrator's guide
Essbase database administrator's guideEssbase database administrator's guide
Essbase database administrator's guideChanukya Mekala
 
Plesk 8.1 for Linux/UNIX
Plesk 8.1 for Linux/UNIXPlesk 8.1 for Linux/UNIX
Plesk 8.1 for Linux/UNIXwebhostingguy
 
X cart 430-manual
X cart 430-manualX cart 430-manual
X cart 430-manualmadtgw
 
Sg247692 Websphere Accounting Chargeback For Tuam Guide
Sg247692 Websphere Accounting Chargeback For Tuam GuideSg247692 Websphere Accounting Chargeback For Tuam Guide
Sg247692 Websphere Accounting Chargeback For Tuam Guidebrzaaap
 

Similar to ODATA_APIs.pdf (20)

Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
Ibm tivoli intelligent think dynamic orchestrator pre proof of-concept cookbo...
 
ZebraNet Bridge Enterprise - Manual do Software
ZebraNet Bridge Enterprise - Manual do SoftwareZebraNet Bridge Enterprise - Manual do Software
ZebraNet Bridge Enterprise - Manual do Software
 
The ARJEL-compliant Trusted Solution For Online Gambling And Betting Operators
The ARJEL-compliant Trusted Solution For Online Gambling And Betting OperatorsThe ARJEL-compliant Trusted Solution For Online Gambling And Betting Operators
The ARJEL-compliant Trusted Solution For Online Gambling And Betting Operators
 
Ppm7.5 cmd tokval
Ppm7.5 cmd tokvalPpm7.5 cmd tokval
Ppm7.5 cmd tokval
 
WebSphere Business Integration for SAP
WebSphere Business Integration for SAPWebSphere Business Integration for SAP
WebSphere Business Integration for SAP
 
SAP_Advanced_Track_Trace_Application_Help_EN.pdf
SAP_Advanced_Track_Trace_Application_Help_EN.pdfSAP_Advanced_Track_Trace_Application_Help_EN.pdf
SAP_Advanced_Track_Trace_Application_Help_EN.pdf
 
Sap s4 hana 1709 op sap api-master guide
Sap s4 hana 1709 op sap api-master guideSap s4 hana 1709 op sap api-master guide
Sap s4 hana 1709 op sap api-master guide
 
Business objects51en
Business objects51enBusiness objects51en
Business objects51en
 
ADMINISTRATION GUIDE PUBLIC Employee Central Imports THE BEST RUN Content
ADMINISTRATION GUIDE   PUBLIC Employee Central Imports THE BEST RUN ContentADMINISTRATION GUIDE   PUBLIC Employee Central Imports THE BEST RUN Content
ADMINISTRATION GUIDE PUBLIC Employee Central Imports THE BEST RUN Content
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 
software-eng.pdf
software-eng.pdfsoftware-eng.pdf
software-eng.pdf
 
UITECH_OP1909_latest.pdf
UITECH_OP1909_latest.pdfUITECH_OP1909_latest.pdf
UITECH_OP1909_latest.pdf
 
Xi31 sp3 bip_admin_en
Xi31 sp3 bip_admin_enXi31 sp3 bip_admin_en
Xi31 sp3 bip_admin_en
 
Another example PDF
Another example PDFAnother example PDF
Another example PDF
 
Another example PDF
Another example PDFAnother example PDF
Another example PDF
 
Essbase database administrator's guide
Essbase database administrator's guideEssbase database administrator's guide
Essbase database administrator's guide
 
Plesk 8.1 for Linux/UNIX
Plesk 8.1 for Linux/UNIXPlesk 8.1 for Linux/UNIX
Plesk 8.1 for Linux/UNIX
 
X cart 430-manual
X cart 430-manualX cart 430-manual
X cart 430-manual
 
Dynamics AX/ X++
Dynamics AX/ X++Dynamics AX/ X++
Dynamics AX/ X++
 
Sg247692 Websphere Accounting Chargeback For Tuam Guide
Sg247692 Websphere Accounting Chargeback For Tuam GuideSg247692 Websphere Accounting Chargeback For Tuam Guide
Sg247692 Websphere Accounting Chargeback For Tuam Guide
 

Recently uploaded

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 

ODATA_APIs.pdf

  • 1. PUBLIC 2017-02-15 SAP Hybris Cloud for Customer – OData Services
  • 2. Content 1 Getting Started: OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 What is OData?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 SAP Cloud for Customer OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Accessing OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Accessing Metadata of the OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 Authentication and Authorization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 Supported System Query Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 SAP Hybris Cloud for Customer OData Developer's Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 1.5 Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 2 OData API Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 SAP Hybris Cloud for Customer OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 Account EntityType. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Appointment Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 BusinessPartner Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 CodeList Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 Contextual CodeList Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Contact Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 EMail Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Employee Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 External ID Mapping Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Individual Customer Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Lead Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 Sales Lead Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Opportunity Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105 Phone Call Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 Product Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Service Request Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139 Task Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 TimeEntry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 User Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 Visit Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171 Marketing Attributes Entity Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 HTTP Status Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183 2.2 SAP Cloud for Customer for OData Service for Retail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184 Store Cart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 2 P U B L I C SAP Hybris Cloud for Customer – OData Services Content
  • 3. Shopping List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Material. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Stores. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Store Employee Checkin/Checkout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 In-Store Activity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 3 OData Service Explorer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 3.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 3.2 Create an OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 3.3 Add an Entity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 3.4 Result. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 3.5 Consume an External OData Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 4 OData Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199 4.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199 4.2 Exploring OData Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 4.3 Testing OData Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 4.4 Favorites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 4.5 History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 4.6 Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 SAP Hybris Cloud for Customer – OData Services Content P U B L I C 3
  • 4. 1 Getting Started: OData API 1.1 Purpose SAP Cloud for Customer offers an OData API in order to consume SAP Cloud for Customer features in your business applications. With this OData API, you can query, read, add, update and delete data from and into SAP Cloud for Customer. This document is a reference point for learning SAP Cloud for Customer OData API. Thus, it provides a short introduction to the capabilities of the OData API as well as information on where to find more details. 1.2 What is OData? OData (Open Data Protocol) is an OASIS Standard that defines a protocol for building and consuming RESTful APIs, based on the HTTP protocol. OData differentiates itself from most of the other RESTful APIs, mainly by providing the following: ● Metadata of the entities exposed by the OData service ● Relationship between the entities within an OData service ● System and custom query options for retrieving data The protocol allows filtering data, ordering and paginating of the query results, retrieving number of records, and more. Querying and modifying data is possible in XML (AtomPub) and JSON formats. For more information on OData protocol, please refer to http://www.odata.org , where you can find different versions of OData specifications, community resources (such as OData providers and consumer libraries), sample OData services and tutorials. 1.3 SAP Cloud for Customer OData API SAP Hybris Cloud for Customer OData API conforms to OData version 2 specification. Complete list of collections (or data end-points) of SAP Hybris Cloud for Customer OData API, are listed on SAP Hybris Cloud for Customer OData API Reference . 4 P U B L I C SAP Hybris Cloud for Customer – OData Services Getting Started: OData API
  • 5. 1.3.1 Accessing OData API You can access the SAP Hybris Cloud for Customer OData API of your tenant, with the URL pattern: https:// <your_tenant>/sap/c4c/odata/v1/c4codata 1.3.2 Accessing Metadata of the OData API You can access the metadata of the OData API of your tenant, with the URL pattern: https:// <YourTenant>/sap/c4c/odata/v1/c4codata/$metadata 1.3.3 Authentication and Authorization Client application that uses SAP Hybris Cloud for Customer OData API, have two options for providing authorization and authentication for their users: ● Basic Authentication ● OAuth 2.0 Using OAuth 2.0 requires a trust relationship to be configured between SAP Hybris Cloud for Customer and the identity provider of your client application, in the Administrator Work Center. For details refer to the IT Setup Guide. 1.3.4 Supported System Query Options SAP Hybris Cloud for Customer OData API supports OData V2 system query options listed below: ● $count ● $expand ● $filter ● $format ● $inlinecount ● $orderby ● $search ● $select ● $skip ● $skiptoken ● $top Usage information, examples and possible restrictions are described in the SAP Hybris Cloud for Customer OData Developer’s Guide . SAP Hybris Cloud for Customer – OData Services Getting Started: OData API P U B L I C 5
  • 6. 1.4 SAP Hybris Cloud for Customer OData Developer's Guide The SAP Hybris Cloud for Customer OData API Developer’s Guide complements theSAP Hybris Cloud for Customer OData API Reference with usage details and provide examples for easy convenience to developers For more information, see SAP Hybris Cloud for Customer OData Developer’s Guide 1.5 Additional Resources For more information on SAP Hybris Cloud for Customer OData API, see the following list: ● SAP Hybris Cloud for Customer Administration Guide ● SAP Hybris Cloud for Customerr area in SAP Community Network 6 P U B L I C SAP Hybris Cloud for Customer – OData Services Getting Started: OData API
  • 7. 2 OData API Reference 2.1 SAP Hybris Cloud for Customer OData Service The OData entity structure is described in the following diagrams. The entity diagrams are grouped under following sections: ● AccountAccount EntityType [page 8] ● ContactContact Entity Type [page 37] ● LeadSales Lead Entity Type [page 94] ● OpportunityOpportunity Entity Type [page 105] ● EmployeeEmployee Entity Type [page 57] ● ProductsProduct Entity Type [page 131] ● Service RequestService Request Entity Type [page 139] ● VisitVisit Entity Type [page 171] Group Name Activities: ● AppointmentAppointment Entity Type [page 27] ● EmailEMail Entity Type [page 49] ● Phone callPhone Call Entity Type [page 125] ● TaskTask Entity Type [page 157] Note For details on the associations between entities, see the navigation details of the respective entity. Note The accuracy of the information provided about the Nullable property in the SAP Hybris Cloud for Customer OData API collection document might not always be accurate. In general, if the Nullable attribute has the value: ● True, then this property can be left empty. However, in some cases, due to application-specific behavior and/or due to the dependency on the value of another property, a property should not be left blank even if the value of the Nullable property is indicated as True. For create or update calls on such properties, system will respond with a specific error message if they are left blank ● False, such a property should never be left blank. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 7
  • 8. 2.1.1 Account EntityType The Account related collections allow you to read and maintain Accounts and their related data such as Address, Contacts related to the Accounts and their addresses. 2.1.1.1 Account Overview The Account collection provides information about corporate customers and prospects. These are existing organizations and potential customers for the company. 8 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 9. URL https://<CloudTenant>/sap/c4c/odata/v1/c4codata/AccountCollection Properties Table 1: Name Type Nullable Max Length Fixed length $ Search Relevant ABCClassification­ Code Edm.String true 1 true ABCClassification­ CodeText Edm.String true AccountFormat­ tedName Edm.String false 40 true true AccountID Edm.String true 10 true true AccountName Edm.String true 240 true true AccountName2 Edm.String true 240 true AccountName3 Edm.String true 240 true AccountName4 Edm.String true 240 true AdditionalStreet­ PrefixName Edm.String true 240 true AdditionalStreet­ SuffixName Edm.String true 240 true StreetPrefixName Edm.String true 240 true StreetSuffixName Edm.String true 240 true BuildingID Edm.String true 240 true CareOfName Edm.String true 240 true CatagoryCode Edm.String false 1 true true CatagoryCodeText Edm.String true ChangedBy Edm.String true 40 true ChangedOn Edm.DateTime true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 9
  • 10. Name Type Nullable Max Length Fixed length $ Search Relevant CityName Edm.String true 240 true ContactPermis­ sionCode Edm.String true 1 true ContactPermis­ sionCodeText Edm.String true Correspondence­ LanguageCode Edm.String true 1 true Correspondence­ nıç0?ü 6:Ê‹–â¥j¿ÖZ˚nqqØƈå Text Edm.String true true CountryCode Edm.String true 3 true CountryCodeText Edm.String true CountyName Edm.String true 240 true CreatedBy Edm.String true 40 true CreatedOn Edm.DateTime true DUNS Edm.String true 60 true DistrictName Edm.String true 240 true EMail Edm.String true 765 true Fax Edm.String true 350 true HouseID Edm.String true 100 true IndustryCode Edm.String true 10 true IndustryCodeText Edm.String true LegalFormCode Edm.String true 2 true LegalFormCode­ Text Edm.String true MarketingLeadIn­ dicator Edm.Boolean true Mobile Edm.String true 350 true NielsenID Edm.String true 2 true 10 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 11. Name Type Nullable Max Length Fixed length $ Search Relevant NielsenIDText Edm.String true ObjectID Edm.String false 70 true OwnerFormatted­ Name Edm.String true 480 true OwnerID Edm.String true 20 true OwnerUUID Edm.Guid true POBoxDeviatingCi­ tyName Edm.String true 240 true POBoxDeviating­ CountryCode Edm.String true true POBoxDeviating­ CountryCodeText Edm.String true 3 true POBoxDeviating­ RegionCode Edm.String true true POBoxDeviating­ RegionCodeText Edm.String true 6 true POBoxID Edm.String true 100 true POBoxPostalCode Edm.String true true POBoxPostalCode­ Text Edm.String true true Phone Edm.String true 350 true PreferredCommu­ ‰TˆEs³)Þ[� |4ÿ⁄^ÅGÊu%DˆÕlH€*ʵç peCode Edm.String true 3 true PreferredCommu­ ‰TˆEs³)Þ{�|#ÿš^üGÆu.D˛ÕT@0ä diumTypeCode Edm.String true PrimaryContactID Edm.String true 10 true PrimaryContact­ Name Edm.String false 480 true true RoleCode Edm.String true 6 true RoleCodeText Edm.String true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 11
  • 12. Name Type Nullable Max Length Fixed length $ Search Relevant StatusCode Edm.String true 2 true StatusCodeText Edm.String true StreetName Edm.String true 360 true StreetPostalCode Edm.String true 100 true StreetPostalCode­ Text Edm.String true true Tax.Jurisdiction­ Code Edm.String true 25 true TaxJurisdictionCo­ deText Edm.String true true TimeZoneCode Edm.String true 10 true TimeZoneCode­ Text Edm.String true true UUID Edm.Guid true Web Edm.String true 1280 true Navigations Table 2: Name FromEntity ToEntity AccountAddress Account AccountAddress 1 .. * AccountAttachment Account AccountAttachment 1 .. * AccountContactRelationship Account AccountContactRelationship 1 .. 1 AccountNotes Account AccountNotes 1 .. * AccountRole Account AccountRole 1 .. * AccountSalesData Account AccountSalesData 1 .. * AccountTeam Account AccountTeam 1 .. * ExternalIDMapping Account ExternalIDMapping 1 .. * 12 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 13. 2.1.1.2 AccountAddress Overview The AccountAddress collection provides detailed organization address of corporate customer and prospects. Top Level Entity Account Properties Table 3: Name Type Nullable Max Length Fixed length $ Search Relevant AdditionalStreet­ PrefixName Edm.String true 240 true AdditionalStreet­ SufixName Edm.String true 240 true StreetPrefixName Edm.String true 240 true lStreetSufixName Edm.String true 240 true CareOfName Edm.String true 240 true AddressLine1 Edm.String true 240 true AddressLine2 Edm.String true 240 true AddressLine4 Edm.String true 240 true AddressLine5 Edm.String true 240 true CareOfName Edm.String true 240 true City Edm.String true 240 true CountryCode Edm.String true 3 true CountryCodeText Edm.String true EMail Edm.String true 765 true Fax Edm.String true 350 true FormattedAddress Edm.String true 480 true Latitude Edm.Decimal true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 13
  • 14. Name Type Nullable Max Length Fixed length $ Search Relevant Longitude Edm.Decimal true Mobile Edm.String true 350 true ObjectID Edm.String true 70 true POBox Edm.String true 100 true POBoxAddress Edm.Boolean true POBoxPostalCode Edm.String true 100 true POBoxPostalCode­ Text Edm.String true ParentObjectID Edm.String true 70 true Phone Edm.String true 350 true PostalCode Edm.String true 100 true PostalCodeText Edm.String true State Edm.String true 6 true StateText Edm.String true Street Edm.String true 360 true UUID Edm.Guid true Navigations Table 4: Name FromEntity ToEntity Account AccountAddress Account * ..1 2.1.1.3 Account Attachment Overview The AccountAttachment collection provides information about various attachments such as Documents, Images etc. associated to a particular Corporate Customer. These attachment types can be created, updated, and viewed using this collection. 14 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 15. Top Level Entity Account Properties Table 5: Name Type Nullable Max Length Fixed length $ Search Relevant Binary Edm.Binary true false CategoryCode Edm.String false 1 true CategoryCodeText Edm.String true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true false LastUpdatedBy Edm.String true 80 true LastUpdatedOn Edm.DateTime true LinkWebURI Edm.String true false MimeType Edm.String true false Name Edm.String true false ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true TypeCode Edm.String true 5 true TypeCodeText Edm.String true UUID Edm.Guid false 2.1.1.4 Account Contact Communication Data Overview The AccountContactCommunicationData collection provides information about personal workplace address details of the Contact related to an Account. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 15
  • 16. Top Level Entity Account Properties Table 6: Name Type Nullable Max Length Fixed length $ Search Relevant EMail Edm.String true 765 true Fax Edm.String true 350 true JobTitle Edm.String true 240 true Mobile Edm.String true 350 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true Phone Edm.String true 350 true Navigations Table 7: Name From Entity To Entity Cardinality AccountContactRelationship AccountContactCommunica­ tionData AccountContactRelationship 1 ..1 2.1.1.5 Account Contact Relationship Overview The AccountContactRelationship collection sets up the relationship between contact and accounts. A single contact can be associated with multiple Accounts and vice versa. 16 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 17. Properties Table 8: Name Type Nullable Max Length Fixed length $ Search Relevant CategoryCode Edm.String true 16 true AccountUUID Edm.String true CategoryCodeText Edm.String true ContactUUID Edm.Guid true DepartmentCode Edm.String true 4 true DepartmentCode­ Text Edm.String true FunctionCode Edm.String true 4 true FunctionCodeText Edm.String true Main Edm.Boolean true ObjectID Edm.String true 70 true VIPReasonCode Edm.String true 1 true VIPReasonCode­ Text Edm.String true Navigations Table 9: Name From Entity To Entity Cardinality AccountContactCommunica­ tionData AccountContactRelationship AccountContactCommunica­ tionData 1 ..1 AccountContacts AccountContactRelationship AccountContacts 2.1.1.6 Account Contacts Overview The AccountContacts collection provides information about contacts related to an account. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 17
  • 18. Usage Scenario The AccountContacts cannot be created whereas can be updated. This displays the contact details provided in the AccountContactRelationship. Top Level Entity AccountContactRelationship Properties Table 10: Name Type Nullable Max Length Fixed length $ Search Relevant CategoryCode Edm.String true 1 true CategoryCodeText Edm.String true ContactID Edm.String true 10 true ContactUUID Edm.Guid true EndDate Edm.DateTime true FirstName Edm.String true 240 true LastName Edm.String true 240 true Name Edm.String true 480 true ObjectID Edm.String true 70 true RoleCode Edm.String true 6 true RoleCodeText Edm.String true StartDate Edm.DateTime true StatusCode Edm.String true 2 true StatusCodeText Edm.String true 18 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 19. 2.1.1.7 AccountNotes Overview The AccountNotes collection provides information about the corporate customers and prospects, and allows to add and view the data. Top Level Entity Account Properties Table 11: Name Type Nullable Max Length Fixed length $ Search Relevant AuthorName Edm.String true 40 true AuthorUUID Edm.Guid true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true LanguageCode Edm.String true 2 true LanguageCode­ Text Edm.String true LastUpdatedBy Edm.String true 80 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true Text Edm.String true false TypeCode Edm.String true 5 true TypeCodeText Edm.String true UpdatedOn Edm.DateTime true Navigations SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 19
  • 20. Table 12: Name From Entity To Entity Cardinality AccountContactCommunica­ tionData AccountContactRelationship AccountContactCommunica­ tionData 1 ..1 AccountContacts AccountContactRelationship AccountContacts 2.1.1.8 Account Role Overview The AccountRole collection provides information about the role(s) of an Account. Top Level Entity Account Usage The property RoleCode has an associated collection – AccountRoleCodeCollection that gives the list of all the roles and its descriptions. This collection can be used to find the values that can be given for the property RoleCode during the creation of this entity. Properties Table 13: Name Type Nullable Max Length Fixed length BusinessCharacter­ Code Edm.String TRUE 6 TRUE BusinessCharacterCo­ deText Edm.String TRUE ObjectID Edm.String TRUE 70 TRUE ParentObjectID Edm.String TRUE 70 TRUE 20 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 21. RoleCode Edm.String TRUE 6 TRUE RoleCodeText Edm.String TRUE Navigations Table 14: Name FromEntity ToEntity Account Account AccountRole 1..n 2.1.1.9 AccountSalesData Overview The AccountSalesDataCollection provides information about sales related data for an account like sales organization, group and its associated incoterms, and payment terms. Top Level Entity Account Properties Table 15: Name Type Nullable Max Length Fixed length BillingBlockingReason­ Code Edm.String TRUE 2 TRUE BillingBlockingReason­ CodeText Edm.String TRUE CurrencyCode Edm.String TRUE 3 TRUE CurrencyCodeText Edm.String TRUE CustomerGroupCode Edm.String TRUE 2 TRUE SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 21
  • 22. CustomerGroupCode­ Text Edm.String TRUE DeliveryBlockingRea­ sonCode Edm.String TRUE 2 TRUE DeliveryBlockingRea­ sonCodeText Edm.String TRUE DeliveryPriorityCode Edm.String TRUE 1 TRUE DeliveryPriorityCode­ Text Edm.String TRUE DistributionChannel­ Code Edm.String TRUE 2 TRUE DistributionChannelCo­ deText Edm.String TRUE DivisionCode Edm.String TRUE 2 TRUE DivisionCodeText Edm.String TRUE IncotermsCode Edm.String TRUE 3 TRUE IncotermsCodeText Edm.String TRUE IncotermsLocation Edm.String TRUE 28 TRUE ObjectID Edm.String TRUE 70 TRUE OrderBlockingReason­ Code Edm.String TRUE 2 TRUE OrderBlockingReason­ CodeText Edm.String TRUE PaymentTermsCode Edm.String TRUE 4 TRUE PaymentTermsCode­ Text Edm.String TRUE SalesGroupID Edm.String TRUE 20 TRUE SalesGroupUUID Edm.Guid TRUE SalesOfficeUUID Edm.Guid TRUE SalesSupportBlockin­ gIndicator Edm.Boolean TRUE SalesOrganisationID Edm.String TRUE 20 TRUE SalesOrganisationUUID Edm.Guid TRUE 22 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 23. Navigations Table 16: Name From Entity To Entity Cardinality AccountSalesGroupName AccountSalesData AccountSalesGroupName 1..n AccountSalesofficeName AccountSalesData AccountSalesOfficeName 1..n AccountSalesOrganisation­ Name AccountSalesData AccountSalesOrganisation­ Name 1..n 2.1.1.10 AccountSalesGroupName Overview The AccountSalesGroupName collection provides the list of Sales group names present in the AccountSalesData entity type. Top Level Entity Account; Parent entity is AccountSalesData Properties Table 17: Name Type Nullable Max Length Fixed length Name Edm.String TRUE 40 TRUE ObjectID Edm.String TRUE 70 TRUE SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 23
  • 24. 2.1.1.11 AccountSalesOfficeName Overview The AccountSalesOfficeName collection provides the list of all Sales group names present in the AccountSalesData entity type. Top Level Entity Account; Parent entity is AccountSalesData Properties Table 18: Name Type Nullable Max Length Fixed length Name Edm.String TRUE 40 TRUE ObjectID Edm.String TRUE 70 TRUE 2.1.1.12 AccountSalesOrganisationName Overview The AccountSalesOrganisationName collection provides the list of all Sales group names present in the AccountSalesData entity type. Top Level Entity Account; Parent entity is AccountSalesData 24 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 25. Properties Table 19: Name Type Nullable Max Length Fixed length Name Edm.String TRUE 40 TRUE ObjectID Edm.String TRUE 70 TRUE 2.1.1.13 AccountTeam Overview The AccountTeam collection provides information about the team that belongs to a corporate account. Top Level Entity Account Properties Table 20: Name Type Nullable Max Length Fixed length DistributionChannel­ Code Edm.String TRUE 2 TRUE DistributionChannelCo­ deText Edm.String TRUE DivisionCode Edm.String TRUE 2 TRUE DivisionCodeText Edm.String TRUE EmployeeUUID Edm.Guid TRUE EndDate Edm.DateTime TRUE Name Edm.String TRUE 480 TRUE ObjectID Edm.String TRUE 70 TRUE ParentObjectID Edm.String TRUE 70 TRUE SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 25
  • 26. PartyRoleCode Edm.String TRUE 10 TRUE PartyRoleCodeText Edm.String TRUE SalesOrganisationUUID Edm.Guid TRUE StartDate Edm.DateTime TRUE UUID Edm.Guid TRUE Navigations Table 21: Name FromEntity ToEntity Account AccountTeam Account 1 .. 1 AccountTeamAddress AccountTeam AccountTeamAddress 1 .. 1 2.1.1.14 AccountTeamAddress Overview The AccountTeamAddress collection provides the E-mail ID and phone of the employee that belongs to an account team. Top Level Entity Account Properties Table 22: Name Type Nullable Max Length Fixed length EMail Edm.String TRUE 765 TRUE ObjectID Edm.String TRUE 70 TRUE 26 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 27. Phone Edm.String TRUE 350 TRUE 2.1.2 Appointment Entity Type The Appointment related collections allow you to read and maintain appointments and related data such as attachments and involved parties (such as sender, recipient, account etc.) 2.1.2.1 Appointment Overview The Appointment collection provides information about appointments. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/AppointmentCollection SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 27
  • 28. Properties Table 23: Name Type Nullable Max Length Fixed length $ Search Relevant Account c4codata.EN­ CRYPTED_LONG_ Name true AccountID Edm.String true 60 true AccountUUID Edm.Guid true AllDayEvent Edm.Boolean true CategoryCode Edm.String true 4 true CategoryCodeText Edm.String true ChangedBy Edm.String true 480 true ChangedOn Edm.DateTimeOff­ set true CompletionPer­ cent Edm.Decimal true CreatedBy Edm.String true 480 true CreatedOn Edm.DateTimeOff­ set true EndDateTime c4codata.LOCAL­ ˛Í(q§×Œ=ë‘y§ÿˇOo—ù¶ˆÌn{˘©†° teTime true ID Edm.String false 35 true true MyPriority Edm.String True 30 True MyPriorityText Edm.String True 30 ObjectID Edm.String false 70 true OrganizerID Edm.String true 60 true OrganizerName c4codata.EN­ CRYPTED_LONG_ Name true OrganizerUUID Edm.Guid true Owner c4codata.EN­ CRYPTED_LONG_ Name true OwnerUUID Edm.Guid true Phone Edm.String true 350 true PrimaryContact c4codata.EN­ CRYPTED_LONG_ Name true 28 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 29. PrimaryContactID Edm.String true 60 true PrimaryContac­ tUUID Edm.Guid true PriorityCode Edm.String true 1 true PriorityCodeText Edm.String true StartDateTime Edm.DateTimeOff­ set true StatusCode Edm.String true 2 true true StatusCodeText Edm.String true Subject Edm.String true 765 true true TypeCode Edm.String true 15 true TypeCodeText Edm.String true AdditionalLoca­ tionName Edm String true 765 true GroupwareItemID Edm String true 765 true LocationName Edm String true 480 true ReportedDateTime Edm.DateTimeOff­ set true UUID Edm.Guid false The Property Type Code has a default value and cannot be changed. Navigations Table 24: Name From Entity To Entity Cardinality AppointmentAttachment Appointment AppointmentAttachment 1 .. * AppointmentInvolvedParties Appointment AppointmentInvolvedParties 1 .. * AppointmentNotes Appointment AppointmentNotes 1 .. * 2.1.2.2 Appointment Attachment Overview The AppointmentAttachment collection provides information about attachments in Appointments. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 29
  • 30. Top Level Entity Appointment Properties Table 25: Name Type Nullable Max Length Fixed length AuthorName Edm.String True 40 True AuthorUUID Edm.Guid True CreatedBy Edm.String True 80 True CreatedOn Edm.DateTime True DocumentLink Edm.String True LastUpdatedBy Edm.String True 80 True LastUpdatedOn Edm.String True LinkWebURL Edm.String True 80 False MimeType Edm.String True False ObjectID Edm.String True 70 True ParentObjectID Edm.String True 70 True TypeCode Edm.String True 5 True TypeCodeText Edm.String True UUID Edm.GUID False 2.1.2.3 Appointment Involved Parties Overview The Appointment Involved Parties collection provides contact information of all parties involved (such as Sender, Recipient, Account, Employee Responsible etc.) in the appointment.. 30 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 31. Properties Table 26: Name Type Nullable Max Length Fixed length $ Search Relevant Name c4codata.EN­ CRYPTED_LONG_ Name true ObjectID Edm.String false 70 true ParentObjectIDe Edm.String true 60 true true Address Edm.String true 480 true true Email Edm.String true 765 true true PartyID Edm.String true 60 true PartyTypeCode Edm.String true 15 true PartyUUID Edm.String true Phone Edm.String true 350 true RoleCode Edm.String true 10 true RoleCodeText Edm.String true Navigations Table 27: Name FromRole ToRole Cardinality Appointment AppointmentInvolvedParties TaskAttachmenAppoint­ mentt 1.1 2.1.2.4 Appointment Notes Overview The AppointmentNotes collection provides information about a related appointment. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 31
  • 32. Top Level Entity Appointment Properties Table 28: Name Type Nullable Max Length Fixed length AuthorName Edm.String true 40 true AuthorUUID Edm.Guid true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true LanguageCode Edm.String true 2 true LanguageCodeText Edm.String true LastUpdatedBy Edm.String true 80 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true Text Edm.String true false TypeCode Edm.String true 5 true TypeCodeText Edm.String true UpdatedOn Edm.DateTime true 2.1.3 BusinessPartner Entity Type Overview BusinessPartnerCollection provides information about all Business Partners i.e. Accounts, Individual Customers, Contacts, Employees, Competitors, Partners etc. ThingType property refers to the thing type associated with a business partner instance. ThingType is used for navigation and displaying data for corresponding Business Partner in the standard UI in SAP Cloud for Customer. The BusinessPartnerCollection is read-only and can be used to determine the correct entity type referred to in a party collection based on the Party UUID. 32 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 33. Properties Table 29: Name Type Description $search relevant UUID Edm.Guid Alternative Key of BusinessPart­ ner Yes ThingType Edm.String Thing Type used in the UI for the particular Business Partner No Mapping Table 30: ThingType Related C4C-BuPa-UI Corresponding C4CODATA-EntityType COD_ACCOUNT_TT Account Account COD_CONTACT_TT Contact Contact COD_SEOD_ACCOUNT_TT IndividualCustomer IndividualCustomer COD_EMPLOYEES Employee Employee COD_COMPETITOR_TT Competitor Not applicable COD_PARTNER_TT Partner Not applicable COD_PARTNERCONTACT_TT PartnerContact Not applicable 2.1.4 CodeList Entity Type The CodeList Entity Type is a Single EntityType.The EntityGroup description are not required. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 33
  • 34. 2.1.4.1 Codelist Overview The Codelist collection provides a list of codes and their corresponding descriptions for a code type collection. It is automatically added into the service metadata if it contains any properties representing a code type. It cannot be created, updated or deleted. This is read-only entity. Properties Table 31: Name Type Nullable Max Length Fixed length $ Search Relevant Code Edm.String false false Description Edm.String false false 34 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 35. 2.1.5 Contextual CodeList Entity Type The ContextualCodeList Entity Type is a Single Entity Type. The EntityGroup description is not required. 2.1.5.1 Contextual CodeList Overview Contextual CodeList collection provides a list of contexts, codes, and their corresponding descriptions. ContextualCodeList entity type is automatically added into the service metadata, if the service contains any properties of the type. Along with Code and Description, ContextualCodeList entity type has a context parameter for which the codes are relevant. For example, Region in an address is contextual. A Region or State “NY” is relevant both for countries with country codes: US and GB. If a user has to fetch all region codes of country “US”, corresponding collection has to be filtered using Context = “US”. If a context is not provided, all the regions in the world shall be returned. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 35
  • 36. Entities cannot be created, updated or deleted in the corresponding entity sets. All entity sets based on ContextualCodeList shall be read-only. Key of the entity type includes both Code and Context. Properties Table 32: Name Type Nullable Max Length Fixed length $ Search Relevant Code Edm.String false false Context Edm.String false false Description Edm.String false false 36 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 37. 2.1.6 Contact Entity Type The Contact related collections allow you to read and maintain Contacts to Accounts and their personal addresses 2.1.6.1 Contact Attachment Overview The ContactAttachment collection provides information about various attachments such as Documents, Images etc. associated to a particular contact. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 37
  • 38. Top Level Entity Contact Properties Table 33: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true UUID Edm.Guid 36 true TypeCode Edm.String true 5 true TypeCodeText Edm.String true MimeType Edm.String true Binary Edm.Binary true DocumentLink Edm.String true Name Edm.String true CategoryCode Edm.String false 1 true CategoryCodeText Edm.String true LinkWebURI Edm.String true CreatedOn Edm.DateTime true 21 true LastUpdatedOn Edm.DateTime true 21 True CreatedBy Edm.String true 80 true LastUpdatedBy Edm.String true 80 true 2.1.6.2 Contact Overview The Contact collection provides the contact information of a particular account. The Contacts are organized based on the accounts from where they originate from. A contact can be related to multiple Accounts/Contacts or can be related to a single account.. 38 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 39. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/ContactCollection Properties Table 34: Name Type Nullable Max Length Fixed length $ Search Relevant CreationOn Edm.DateTime true 21 true ChangedOn Edm.DateTime true 21 true CreatedBy Edm.String true 40 true ChangedBy Edm.String true 40 true RoleCode Edm.String true 6 true StartDate Edm.DateTime false 8 true EndDate Edm.DateTime false 8 true ObjectID Edm.String false 70 true ContactName Edm.String false 480 true true UUID Edm.Guid true 36 true ContactID Edm.String true 10 true true FirstName Edm.String true 240 true true MiddleName Edm.String true 240 true LastName Edm.String true 240 true true AccountID Edm.String true 70 true AccountUUID Edm.Guid true 36 true AccountName Edm.String true 480 true true NickName Edm.String false 240 true MarketingLeadIn­ dicator Edm.Boolean true 1 true AcademicTitle­ Code Edm.String true 4 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 39
  • 40. AcademicTitleCo­ deText EdmString true AdditionalAcade­ micTitleCode Edm.String true 4 true AdditionalAcade­ micTitleCodeText Edm.String true ContactPermis­ sionCode Edm.String true 1 true ContactPermis­ sionCodeText Edm.String true GenderCode Edm.String true 1 true GenderCodeText Edm.String true MaritalStatusCode Edm.String true 1 true MaritalStatusCo­ deText Edm.String true VIPContactCode Edm.String true 1 true VIPContactCode­ Text Edm.String true DepartmentCode Edm.String true 4 true DepartmentCode­ Text Edm.String true FunctionCode Edm.String true 4 true FunctionCodeText Edm.String true StatusCode Edm.String true 2 true StatusCodeText Edm.String true CategoryCode Edm.String true 1 true CategoryCodeText Edm.String StatusCode Edm.String StatusCodeText Edm.String LanguageCode Edm.String true 1 true LanguageCode­ Text Edm.String 40 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 41. TitleCode Edm.String true 4 true TitleCodeText Edm.String Navigations Table 35: Name From Entity To Entity Cardinality ContactAttachment Contact ContactAttachment 1 .. * ContactNotes Contact ContactNotes 1 .. * ContactBusinessAddress Contact ContactBusinessAddress 1 .. 1 ContactCommunicationData Contact ContactCommunicationData 1.. * ContactPersonalAddress Contact ContactPersonalAddress 0.. * 2.1.6.3 Contact Notes Overview The ContactNotes collection provides information about the notes attached to a particular contact.. Top Level Entity Contact Properties Table 36: Name Type Nullable Max Length Fixed length $Search Relevant ParentObjectID Edm.String true 70 True ObjectID Edm.String true 70 True SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 41
  • 42. Name Type Nullable Max Length Fixed length $Search Relevant TypeCode Edm.String true 5 True LanguageCode Edm.String true 2 true Text Edm.String false false CreatedOn Edm.DateTime true 21 true UpdatedOn Edm.DateTime true 21 true CreatedBy Edm.DateTime true 80 True LastUpdatedBy Edm.String true 80 true AuthorName Edm.String true 40 True AuthorUUID Edm.Guid true 36 true 2.1.6.4 Contact Personal Address Overview The ContactPersonalAddess collection provides personal address information for a contact. A particular contact can have multiple personal address and one among them would be the default address. Top Level Entity Contact Properties Table 37: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 True ParentObjectID Edm.String true 70 True 42 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 43. Name Type Nullable Max Length Fixed length $Search Relevant UUID Edm.Guid true 36 True Address Edm.String true 480 True Email Edm.String true 765 true Mobile Edm.String true 350 true Phone Edm.String true 350 true Fax Edm.String true 350 true Navigations Table 38: Name From Entity To Entity Cardinality Contact ContactPersonalAddress Contact 1… 1 ContactPersonalAddress ContactPersonalPostalAd­ dress ContactPersonalPostalAd­ dress 0…* 2.1.6.5 Contact Personal Postal Address Overview The ContactPersonalPostalAddress collection provides the postal address associated to a particular contact. There can be multiple addresses associated to a single contact, and any one of the contact can be marked as the default address. Top Level Entity ContactPersonalAddress SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 43
  • 44. Properties Table 39: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 True ParentObjectID Edm.String true 70 True AdditionalStreet­ PrefixName Edm.String true 240 True AdditionalStreet­ SuffixName Edm.String true 240 True CountryCode Edm.String true 3 True CountryCodeText Edm.String true POBox Edm.String true 100 true AddressLine1 Edm.String true 240 true AddressLine2 Edm.String true 240 true HouseNumber Edm.String true 100 true Street Edm.String true 360 True AddressLine4 Edm.String true 240 true AddressLine5 Edm.String true 240 True City Edm.String true 240 true State Edm.String true 6 True PostalCode Edm.String true 100 true PostalCodeText Edm.String true POBoxPostalCode Edm.String true 100 true POBoxPostalCode­ Text Edm.String true 44 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 45. Navigations Table 40: Name From Entity To Entity Cardinality ContactPersonalAddress ContactPersonalPostalAd­ dress ContactPersonalAddress 1… 1 2.1.6.6 Contact Business Address Overview The ContactBusinessAddress collection provides information about the accounts related to a particular contact. A particular contact can be related to many accounts. It also includes the business address referred to by the contact for a particular account. . Top Level Entity Contact Properties Table 41: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 True PostalAddress Edm.String true 480 True FirstLineDescrip­ tion Edm.String true 480 True SecondLineDe­ scription Edm.String true 480 True PreferredCommu­ ÍR©¹È]
  • 46. bŁ|£ër¤YaÎO«*´ßæðH¿ ùÖ{jý™› peCode Edm.String true 3 True SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 45
  • 47. Name Type Nullable Max Length Fixed length $Search Relevant UUID Edm.Guid true 36 True Navigations Table 42: Name From Entity To Entity Cardinality ContactBusinessPostalAd­ dress ContactBusinesslAddress ContactBusinessPersonalAd­ dress 1… * 2.1.6.7 Contact Business Postal Address Overview The ContactBusinessPostalAddress collection provides the business/Organization postal address associated to a particular contact account relationship. There can be multiple postal addresses maintained for a single relationship, and any one of them can be marked as the default address . Top Level Entity ContactBusinessAddress Properties Table 43: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 True City Edm.String true 240 True CountryCode Edm.String true 3 True 46 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 48. Name Type Nullable Max Length Fixed length $Search Relevant CountryCodeText Edm.String true HouseNumber Edm.String true 100 True PostalCode Edm.String true 100 True PostalCodeText Edm.String true State Edm.String true 6 True StateText Edm.String true Street Edm.String true 360 True 2.1.6.8 Contact Communication Data Overview The ContactCommunicationData collection provides information about the workplace addresses associated with a particular account and contact relationship. There can be only one workplace address maintained for a particular relationship Top Level Entity Contact Properties Table 44: Name Type Nullable Max Length Fixed length $Search Relevant ObjectID Edm.String true 70 True Phone Edm.String true 350 True EMail Edm.String true 765 True EMailInvalid Edm.Boolean true 1 True Fax Edm.String true 350 True SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 47
  • 49. Name Type Nullable Max Length Fixed length $Search Relevant Mobile Edm.String true 350 True BuildingID Edm.String true 10 True DepartmentFrom­ BusinessCard Edm.String true 240 True FloorID Edm.String true 10 True JobTitle Edm.String true 240 True RoomID Edm.String true 10 True Navigations Table 45: Name From Entity To Entity Cardinality AccountContactPersonalRe­ lationship ContactCommunicationData AccountContactRelationship 1… 1 48 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 50. 2.1.7 EMail Entity Type The Email related collections allow you to read and maintain Email communication done with business partners and related data such as attachments and recipients 2.1.7.1 EMail Overview The EMail collection allows you to synchronize and view E-mail communication done with business partners and associates the E-mail with related objects such as an account, opportunity, lead, or sales quote. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 49
  • 51. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/EmailCollection Properties Table 46: Name Type Nullable Max Length Fixed length AccountID Edm.String true 60 true AccountName c4codata.EN­ CRYPTED_LONG_Nam e true AccountUUID Edm.Guid true DateTime c4codata.LOCALNOR­ MALISED_DateTime false GroupCode Edm.String true 4 true GroupCodeText Edm.String true ID Edm.Guid true 35 true MessageFromPartyID Edm.DateTime true 60 true MessageFromParty­ Name c4codata.EN­ CRYPTED_LONG_Nam e true MessageFromPar­ tyUUID Edm.Guide true ObjectID Edm.String true 70 true OwnerName c4codata.EN­ CRYPTED_LONG_Nam e true PriorityCode Edm.String true 1 true PriorityCodeText Edm.Guid true StatusCode Edm.String true 2 true StatusCodeText Edm.String true 50 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 52. Name Type Nullable Max Length Fixed length SubjectName Edm.String true 765 true TypeCode Edm.String true 15 true TypeCodeText Edm.String true CorrespondenceTrans­ missionStatusCode Edm String true 2 true MessageFromEmailURI Edm String true 254 true MessageFromName Edm String true 255 true UUID Edm Guid true Navigations Table 47: Name FromRole ToRole Cardinality EMailAttachment EMail EMailAttachment 1 .. * EMailCcRecepients EMail EMailCcRecepients 1 .. * EmailNotes EMail EmailNotes 1 .. * EMailToRecepients EMail EMailToRecepients 1.. * 2.1.7.2 EMail Attachment Overview The EMailAttachment collection provides information about attachments in E-mail. For example, attachments of E-mail associated to an account, opportunity, lead or sales quote is synchronized with SAP Cloud for Customer, and thereby can be updated and viewed using EMailAttachmentCollection. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 51
  • 53. Top Level Entity EMail Properties Table 48: Name Type Nullable Max Length Fixed length Binary Edm.Biinary true false CategoryCode Edm.String false 1 true CategoryCode­ Text Edm.String true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true false LastUpdatedBy Edm.String true 80 true LastUpdatedOn Edm.DateTime true LinkWebURL Edm.String true false MimeType Edm.String true false Name Edm.String true false ObjectID c4codata.EN­ CRYPTED_LONG_Name true 70 ParentObjectID Edm.String true 70 true TypeCode Edm.String true 5 true TypeCodeText Edm.String true UUID Edm.Guid false true 52 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 54. Navigations Table 49: Name FromRole ToRole Cardinality EMailAttachment EMail EMailAttachment 1 .. * EMailCcRecepients EMail EMailCcRecepients 1 .. * EmailNotes EMail EmailNotes 1 .. * EMailToRecepients EMail EMailToRecepients 1.. * 2.1.7.3 EMail Cc Recipients Overview The EMailCcRecipients collection provides information about all the Copied Recipients in E-mail. Top Level Entity EMail Properties Table 50: Name Type Nullable Max Length Fixed length Address Edm.String true 480 true EMailID Edm.String true 765 true Name c4codata.EN­ CRYPTED_LONG_Nam e true ObjectID Edm.Stringe true 70 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 53
  • 55. Name Type Nullable Max Length Fixed length ParentObjectID Edm.String true 70 true PartyID Edm.String true 80 true PartUUID Edm.Guid true Phone Edm.String true 350 true RoleCategoryCode Edm.String true 3 true MessageCCEMailID Edm String true 254 true MessageCCName Edm String true 255 true RoleCategoryText Edm.String true Navigations Table 51: Name FromEntity ToEntity Cardinality EMail EMailCcRecepients EMail * .. 1 2.1.7.4 Email Notes Overview The EMailNotes collection provides information about all details in an E-mail. Note Notes feature allows you to add and view important information. Top Level Entity EMail 54 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 56. Properties Table 52: Name Type Nullable Max Length Fixed length AuthortName Edm.String true 40 true AuthorUUID Edm.Guid true CreatedBy Edm.String false 80 true CreatedOn Edm.DateTime true LanguageCode Edm.String true 2 true LanguageCodeText Edm.String true LastUpdatedBy Edm.String true 80 true ObjectID Edm.String true 70 true ParentObjectI Edm.String true 70 true TypeCode Edm.String true false Text Edm.String true 5 true TypeCodeText Edm.String true UpdatedOn Edm.DateTime true 2.1.7.5 Email To Recipients Overview The EMailToRecipients collection provides information about all “To” Recipients in E-mail. Top Level Entity EMail SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 55
  • 57. Properties Table 53: Name Type Nullable Max Length Fixed length Address Edm.String true 480 true EMailID Edm.String true 765 true Name c4codata.EN­ CRYPTED_LONG_Nam e true ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true PartyID Edm.String true 60 true PartyUUID Edm.Guid true Phone Edm.DateTime true 350 true RoleCategoryCode Edm.String true 3 true MessageToEmailID Edm String true 254 true MessageToName Edm String true 255 true RoleCategoryCodeText Edm.String true Navigations Table 54: Name FromRole ToRole Cardinality EMail EMailToRecepients EMail * .. 1 56 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 58. 2.1.8 Employee Entity Type The Employee related collections allow you to read and maintain Employees and related data such as their addresses. 2.1.8.1 Employee Overview The Employee collection provides details about internal and external employees for an organization. The Employees have their respective roles assigned and associated to an account, team etc. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/EmployeeCollection SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 57
  • 59. Properties Table 55: Name Type Nullable Max Length Fixed length AcademicTitle­ Code Edm.String true 4 true AcademicTitleCo­ deText Edm.String true DateFormatCode Edm.String true 2 true DateFormatCode­ Text Edm.String true DecimalFormat­ Code Edm.String true 2 DecimalFormatCo­ deText Edm.String true EmployeeID Edm.String true 20 true true FirstName Edm.String true 240 true InternalEm­ ployeeIndicator Edm.Boolean true InternalID Edm.String false 10 true LastName Edm.String true 240 true EndDate Edm.DateTime true LogonLanguage­ Code Edm.String true 1 true LogonLanguage­ CodeText Edm.String true true MiddleName Edm.String true 240 true Name Edm.String false 480 true true NickName Edm.String true 240 true ObjectID Edm.String false 70 true StartDate Edm.DateTime true SortingName Edm.String true 480 true 58 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 60. Name Type Nullable Max Length Fixed length TimeFormatCode Edm.String true 2 true TImeFormatCode­ Text Edm.String true TimeZoneCode Edm.String true 10 TimeZoneCode­ Text Edm.String TitleCode Edm.String true 4 true TitleCodeText Edm.String true UUID Edm.Guid true UserID Edm.String true 40 true Navigations Table 56: Name FromEntity ToEntity Cardinality EmployeeBusinessAddress Employee EmployeeBusinessAddress 1 .. * EmployeeCommunication­ Data Employee EmployeeCommunication­ Data 1 .. * 2.1.8.2 Employee Business Address Overview The EmployeeBusinessAddress collection entity provides details about the organization address of the employees. Top Level Entity Employee SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 59
  • 61. Properties Table 57: Name Type Nullable Max Length Fixed length City Edm.String true 240 true CountryCode Edm.String true 3 true CountryCodeText Edm.String true HouseNumber Edm.String true 100 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true PostalCode Edm.String true 100 true PostalCodeText Edm.String true StateCode Edm.String true 6 true StateCodeText Edm.String true Street Edm.String true 360 true Navigations Table 58: Name FromEntity ToEntity Cardinality Employee EmployeeBusinessAddress Employee * ..1 EmployeeFormattedBusines­ sAddress EmployeeBusinessAddress EmployeeFormattedBusines­ sAddress 1 .. * 2.1.8.3 Employee Communication Data Overview The EmployeeCommunicationData collection entity provides workplace organization details of the employees.. 60 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 62. Top Level Entity Employee Properties Table 59: Name Type Nullable Max Length Fixed length Buildinge Edm.String true 10 true EMail Edm.String true 765 true Fax Edm.String true 350 true Floor Edm.String true 10 true Mobile Edm.String true 350 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true Phone Edm.String true 350 true Room Edm.String true 10 true Navigations Table 60: Name FromEntity ToEntity Cardinality Employee EmployeeCommunication­ Data Employee * ..1 2.1.8.4 Employee Formatted Business Address Overview The EmployeeFormattedBusinessAddress collection entity provides the employees business address in a format. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 61
  • 63. Usage Scenario This is only a read-only entity, and cannot be created or updated. It is created automatically once address is created. Top Level Entity EmployeeBusinessAddress Properties Table 61: Name Type Nullable Max Length Fixed length FormattedAddress Edm.String true 480 true ParentObjectID Edm.String false 70 true ObjectID Edm.String false 70 true Navigations Table 62: Name FromEntity ToEntity Cardinality EmployeeBusinessAddress EmployeeBusinessFormatte­ dAddress EmployeeBusinessAddress * .. 1 62 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 64. 2.1.9 External ID Mapping Entity Type The External ID Mappping Entity Type is a Single EntityType. The EntityGroup description are not required. 2.1.9.1 External ID Mapping Overview The ExternalIDMapping collection entity provides mapping details of a local object identifier corresponding to an object identifier in a remote system... Usage Scenario This is only a read-only entity, and cannot be created or updated. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 63
  • 65. Properties Table 63: Name Type Nullable Max Length Fixed length ExternalID Edm.String true 100 true ExtneralSystemID Edm.String true 32 true ExternalSyste­ mUUID Edm.Guid true ObjectID Edm.String true 70 true ObjectTypeCode Edm.String true 15 true ObjectTypeCode­ Text Edm.String true 2.1.10 Individual Customer Entity Type The Individual Customer related collections allow you to read and maintain individual customers and their addresses. 64 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 66. 2.1.10.1 Individual Customer Overview The Individual Customer collection provides information about customers who are not associated with a corporate account, and do business with the company directly. Such customers can be created, updated and viewed using this collection. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/IndividualCustomerCollection Properties Table 64: Name Type Nullable Max Length Fixed length ABCClassificationCode Edm.String true 1 true ABCClassificationCo­ deText Edm.String true AcademicTitleCode Edm.String true 4 true AcademicTitleCode­ Text Edm.String true AdditionalStreetPrefix­ Name Edm.String true 240 true AdditionalStreetSuffix­ Name Edm.String true 240 true BillingBlockCode Edm.String true 2 true BillingBlockCodeText Edm.String true BuildingID Edm.String true 10 true CareOfName Edm.String true 240 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 65
  • 67. Name Type Nullable Max Length Fixed length CatagoryCode Edm.String true 1 true CatagoryCodeText Edm.String true ContactPermission­ Code Edm.String true 1 true ContactPermissionCo­ deText Edm.String true CorrespondenceLan­ guageCode Edm.String true 1 true CorrespondenceLan­ guageCodeText Edm.String true CountryCode Edm.String true 3 true CountryCodeText Edm.String true CountyName CustomerID Edm.String true 10 true DateOfBirth Edm.DateTime true DeliveryBlockCode Edm.String true 2 true DeliveryBlockCodeText Edm.String true DistrictName Edm.String true 240 true EMail Edm.String true 765 true Fax Edm.String true 350 true FirstName Edm.String true 240 true GenderCode Edm.String true 1 true GenderCodeText Edm.String true HouseID Edm.String true 100 true Initials Edm.Boolean true 100 true LanguageCode Edm.String true 1 true LanguageCodeText Edm.String true LastName Edm.String false 240 true 66 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 68. Name Type Nullable Max Length Fixed length MaritalStatusCode Edm.String true 1 true MaritalStatusCodeText Edm.String true MarketingLeadIndica­ tor Edm.Boolean true MiddleName Edm.String true 240 true Mobile Edm.String true 350 true Name Edm.String true 480 true NationalityCode Edm.String true 3 true NationalityCodeText Edm.String true Nickname Edm.String true 240 true ObjectID Edm.String true 70 OrderBlockCode Edm.Guid true 2 OrderBlockCodeText Edm.String true Owner Edm.String true 480 true OwnerUUID Edm.String true OwnerID Edm.String true 10 true POBoxDeviatingCity­ Name Edm.String true 240 true POBoxDeviatingCoun­ tryCode Edm.String true 3 true POBoxDeviatingCoun­ tryCodeText Edm.String true POBoxDeviatingRe­ gionCode Edm.String true 6 true POBoxDeviatingRe­ gionCodeText Edm.String true POBoxID Edm.String true 100 true POBoxPostalCode Edm.String true 100 POBoxPostalCodeText Edm.String true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 67
  • 69. Name Type Nullable Max Length Fixed length Phone Edm.String true 350 true PreferredCommunica­ tionMediumTypeCode Edm.String true 3 true PreferredCommunica­ â‘u` ˙ÏŠ´’³¹ÕVB”Ü]Ë1àY5Ž÷ÎoV÷ø9éHžþœ Text Edm.String true PrefixCode Edm.String true 4 true PrefixCodeText Edm.String true ProfessionCode Edm.String true 4 true ProfessionCodeText Edm.String true RegionCode Edm.String true 6 true RegionCodeText Edm.String true RoleCode Edm.String true 6 true RoleCodeText Edm.String true SalesSupportBlock Edm.Boolean true StatusCode Edm.String true 2 true StatusCodeText Edm.String true StreetName Edm.String true 360 true StreetPostalCode Edm.String 100 true StreetPostalCodeText Edm.String true StreetPrefixName Edm.String true 240 true StreetSuffixName Edm.String true 240 true TaxJurisdictionCode Edm.String true 25 true TaxJurisdictionCode­ Text Edm.String true TimeZoneCode Edm.String true 10 true TimeZoneCodeText Edm.String true TitleCode Edm.String true 4 true 68 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 70. Name Type Nullable Max Length Fixed length TitleCodeText Edm.String true UUID Edm.String true Web Edm.String true 1280 true Navigations Table 65: Name FromRole ToRole IndividualCustomerAttachment IndividualCustomer IndividualCustomerAttachment IndividualCustomerCommon IndividualCustomer IndividualCustomerCommon IndividualCustomerNotes IndividualCustomer IndividualCustomerNotes 2.1.10.2 Individual Customer Attachment Overview The Individual Customer Attachment collection provides information about customers who are not associated with a corporate account, and do business with the company directly. These attachments can be created, updated, and viewed using this collection. Top Level Entity IndividualCustomer SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 69
  • 71. Properties Table 66: Name Type Nullable Max Length Fixed length Binary Edm.Binary true false CategoryCode Edm.String false 1 CategoryCodeText Edm.String true true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true false LastUpdatedBy Edm.String true 80 LastUpdatedOn Edm.DateTime true LinkWebURI Edm.String true false MimeType Edm.String true false Name Edm.String true false ObjectID Edm.String true 70 true ParentObjectID Edm.String true 701 true TypeCode Edm.String true 5 true TypeCodeText Edm.String true true UUID Edm.String false 2.1.10.3 Individual Customer Common Overview The IndividualCustomerCommon collection provides biographical information of customers. 70 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 72. Top Level Entity IndividualCustomer Properties Table 67: Name Type Nullable Max Length Fixed length AcademicTitleCode Edm.String true 4 true AcademicTitleCode­ Text Edm.String true BirthDate Edm.DateTime true BirthDateProtectedIn­ dicator Edm.Boolean true EndDate Edm.DateTime true GenderCode Edm.String true 1 true GenderCodeText Edm.String true GivenName Edm.String true 240 true MaritalStatusCode Edm.String true 1 true MaritalStatusCodeText Edm.String true MaritalStatusProtecte­ dIndicator Edm.Boolean true MiddleName Edm.String true 240 true NationalityCountry­ Code Edm.String true 3 true NationalityCountryCo­ deText Edm.String true NonVerbalCommunica­ tionLanguageCode Edm.String true 1 true NonVerbalCommunica­ tionLanguageCodeText Edm.String true ObjectID Edm.String true 70 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 71
  • 73. Name Type Nullable Max Length Fixed length OccupationCode Edm.String true 4 true OccupationCodeText Edm.DateTime true ParentObjectID Edm.String true 70 true StartDate Edm.DateTime true Navigations Table 68: Name FromEntity ToEntity Cardinality IndividualCustomerCommon IndividualCustomerCommon IndividualCustomer 1..* 2.1.10.4 Individual Customer Notes Overview The IndividualCustomerNotes collection allows you to add more information about a Customer. Top Level Entity IndividualCustomer Properties Table 69: Name Type Nullable Max Length Fixed length AuthorName Edm.Binary true 40 true 72 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 74. Name Type Nullable Max Length Fixed length AuthorUUID Edm.Guide true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true false LanguageCode Edm.String true 2 true LanguageCodeText Edm.String true LastUpdatedBy Edm.String true 80 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true Text Edm.String true false TypeCode Edm.String true 5 true TypeCodeText Edm.String true true UpdatedOn Edm.DateTime true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 73
  • 75. 2.1.11 Lead Entity Type The lead related collections allow you to read and maintain sales leads and related data such as products, parties involved and business transaction document references. 2.1.11.1 Lead Overview The Lead collection(LeanLead) represents an individual or organization that a company has the potential to do business with and is based on a similar SAP CRM functionality. 74 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 76. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeadCollection Attribute Definition Table 70: Name Type Nullable Max Length Fixed length $Search Relevant ID (ID ) Edm.String true 35 true Category (Group­ Code) Edm.String true 4 true Source (OriginType­ Code) Edm.String true 3 true Priority (Priority­ Code) Edm.String true 1 true End Date (End Date) Edm.DateTime true true Start Date (Start Date) Edm.DateTime true true Processing Type (ProcessingTypeCo­ delea) Edm.String true 4 true Qualification Level (QualificationLevel­ Code) Edm.String true 2 true Reason Code (Resul­ tReasonCode) Edm.String true 3 true Approval Status (Ap­ provalStatusCode) Edm.String true 2 true Consistency Status (ConsistencyStatus­ Code) Edm.String true 2 true Survey Score (Sur­ veyTotalScoreValue) Edm.Int true 32 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 75
  • 77. Name Type Nullable Max Length Fixed length $Search Relevant Creation Date Time (CreationDateTime) Edm.DateTimeOffset true 7 true Distribution Channel (DistributionChannel­ Code) Edm.String true 2 true Division (Division­ Code) Edm.String true 2 true SalesGroupUUID Edm.Guid true Sales Group (Sales­ GroupID) Edm.String true 20 true SalesOfficeID Edm.Guid true 20 true SalesOfficeUUID Edm.Guid true Sales Organisation (SalesOrganisatio­ nID) Edm.String true 20 true SalesOrganisatio­ nUUID Edm.Guid true SalesTerritoryID (SalesTerritoryID) Edm.String true 6 true Sales Territory Name (SalesTerritory­ Name) Edm.String true 40 Owner Party ID (Sales) (OwnerPar­ tyIDSales) Edm.String true 60 true Owner UUID (Sales) (OwnerUUIDSales) Edm.Guid true Owner (Sales) (Own­ erSalesName) Edm.String true 480 true Marketing Unit Party ID (MarketingUnit­ PartyID) Edm.String true 60 true 76 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 78. Name Type Nullable Max Length Fixed length $Search Relevant Marketing Unit Party UUID (MarketingUnit­ PartyUUID) Edm.Guid true Marketing Unit Name (MarketingUnit­ Name) Edm.Grid true 480 Account Party ID (Ac­ countPartyID) Edm.String true 60 true Account Party UUID (AccountPartyUUID) Edm.Guid true AccountPartyName Edm.String true 480 Main Contact ID (ContactID) Edm.String true 60 true Contact UUID (Con­ tactUUID) Edm.Guid true Main Contact Name (ContactName) Edm.String true 480 Owner Party ID (OwnerPartyID) Edm.String true 60 true Owner Party UUID (OwnerPartyUUID) Edm.Guid true OwnerPartyName Edm.String true 480 Sales Unit Party ID (SalesUnitPartyID) Edm.String true 60 true Sales Unit Party UUID (SalesUnitPar­ tyUUID) Edm.Guid true Sales Unit Name (SalesUnitName) Edm.String true 480 Expected Revenue Value (ExpectedRe­ venueAmount) Edm.Decimal true 28 SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 77
  • 79. Name Type Nullable Max Length Fixed length $Search Relevant Expected Revenue Amount Currency (ExpectedRevenue­ CurrencyCode) Edm.String true 3 true Name (Name) Edm.String 255 Name Language Code (NameLangua­ geCode) Edm.String true 1 true Company (Company) Edm.String true 40 Contact First Name (ContactFirstName) Edm.String true 40 ContactLastName Contact Last Name) Edm.String true 40 Contact Information Phone (Contact­ Phone) Edm.String true 40 true Contact Information Mobile (ContactMo­ bile) Edm.String true 40 true Contact Information E-Mail (ContactE­ mail) Edm.String true 100 true Customer Informa­ tion City (AccountC­ ity) Edm.String true 40 true Customer Informa­ tion State (Account­ State) Edm.String true 6 true Customer Informa­ tion Country (Ac­ countCountry) Edm.String true 3 true Campaign ID (Cam­ paignID) Edm.String true 35 true EmployeeResponsi­ bleUUID Edm.Guid 78 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 80. Name Type Nullable Max Length Fixed length $Search Relevant Account Information Additional Name (CompanySecond­ Name) Edm.String true 40 true Account Information Additional Name 2 (CompanyThird­ Name) Edm.String true 40 true Account Information Additional Name 3 (CompanyFourth­ Name) Edm.String true 40 true Account Information ABC Classification (OrganisationAc­ JÞ†[…Tz=ÌÅ€qL™´tMy²¯9$NZOLKÓ
  • 81. ˙ëÈ�D Ëœ tionCode) Edm.String true 1 true Account Information Industry (Organisa­ JÞ†L…R`=ÌÅ0€SL³´XMO²�91tZRLFÓ˜˙ñȺDˇëå85f˝e SectorCode) Edm.String true 10 Customer Informa­ tion Contact Permis­ sion (Organisatio­ JÞ†V…zl=ÁÅ˚€EL¾´CMy²¬9+IZ]LAÓ˚˙ÃÈ¢Dëã!I wedCode) Edm.String true 1 Contact Middle Name (ContactMiddle­ Name) Edm.String true 40 Contact Information Gender (ContactGen­ derCode) Edm.String true 1 true Contact Information Academic Title (Con­ JÞ†L…Zl=ÖÅ0€SL±´SM_²®9,^ZhLKÓ˚˙îÈ«d{ Code) Edm.String true 4 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 79
  • 82. Name Type Nullable Max Length Fixed length $Search Relevant Contact Information Additional Academic Title (ContactAdditio­ ,*àá
  • 83. VàÉbVX{£dJyýÌ#‹˙~˘Ç†çh?Y˛ñw Code) Edm.String true 4 true Contact Information Contact Permission (ContactAllowed­ Code) Edm.String true 1 true Contact Information Title (ContactFormO­ fAddressCode) Edm.String true 4 true Contact Information Nickname (Contact­ NickName) Edm.String true 40 Contact Information Marital Status (Con­ ,*àû
  • 84. VàÆbcXU£dyñÌ:‹q˘À†ç}?A˛Ñk Code) Edm.String true 1 true Contact Information Function (Business­ ,*àß
  • 88. _àÌbgXZ£p]yñÌ ‹n˘à†1ç}?G˛Ñ KfÍr�E FunctionalAreaCode) Edm.String true 4 true Contact Information Engagement Score (BusinessPartnerRe­ ,*àã
  • 90. RàËbcXK£fAyêÌ+‹h˘þ†çy?G=s Value) Edm.String true 100 true Contact Information VIP Contact (Busi­ ,*àá
  • 92. _àÌbgX[£j@yìÌ/‹i˘Å†(çL?g˛Ñk sonCode) Edm.String true 1 true 80 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 93. Name Type Nullable Max Length Fixed length $Search Relevant Contact Information Language (Contact­ x€ßô=qùÌü‹Ì��ıÂ%e˝¾@Þ` ËËЯä®ÿÁ$ÄÌÄÕ. guageCode) Edm.String true 1 true Individual Customer Information Title (In­ x€øô;qýÌç‹Í�ŽıÓ%f˝fi@Ï`˙ËÑУä¦ÿè$×ÌìõQ7v|V mOfAddressCode) Edm.String true 4 true Individual Customer Information Aca­ demic Title (Individu­ x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`)ËÆÐ�ä¯ÿè$ÈÌÃõ] TitleCode) Edm.String true 4 true First Name of Indiv. Customer (Individu­ x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`/ËÌкä®ÿãµ Name) Edm.String true 40 Last Name of Indiv. Customer (Individu­ x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`.ËÄСä¢ÿá$Üìº Name) Edm.String true 40 Middle Name of Indiv. Customer (Individu­ x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`%ËÌШä¯ÿá$Àìº Name) Edm.String true 40 Individual Customer Information Gender (IndividualCustomer­ GenderCode) Edm.String true 1 true Individual Customer Information Contact Permission (Individu­ x€ýôqÈÌû‹Ú�ŸıÝ%g˝µ@È`+ËÊТä¿ÿì$ÆÌÞõ�7h|V lowedCode) Edm.String true 1 true Individual Customer Information Marital Status (Individual­ x€ßô'qøÌú‹Æ�†ı×%x˝š@Û`ˆËÌиäªÿá$öÌÞõ_ tusCode) Edm.String true 1 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 81
  • 94. Name Type Nullable Max Length Fixed length $Search Relevant Individual Customer Information ABC Classification (Indi­ ˚R¶J‹•ìÖÊð‘°¥,·‹Cÿ‚F rX[]¿§ÌM/šM ClassificationCode) Edm.String true 1 true Individual Customer Information National­ ity (IndividualCusto­ ˚R¶Q‹„ìÀÊË‘¨¥·™Câ‚S rI[V¿¥Ì`/«|3I× tryCode) Edm.String true 3 true Individual Customer Information Date of Birth (IndividualCus­ tomerBirthDate) Edm.DateTime true true Individual Customer Information Profes­ sion (IndividualCus­ ˚R¶H‹ƒìßÊà‘˛fi¥
  • 96. ˇrT[@¿‹ì˜ Code) Edm.String true 4 true Individual Customer Information Initials (IndividualCustomer­ InitialsName) Edm.String true 100 Individual Customer Information Prefix (IndividualCustomer­ NamePrefixCode) Edm.String true 4 true Individual Customer Information Lan­ guage (Individual­ ˚R¶�‹œìÁÊñ‘±¥ ·‘C‚] ;rX[]¿—Ìn/²M ˚R¶�‹ƒìßÊ葈²¥·žCí‚F rS[c¿⁄ÌaÎ guageCode) Edm.String true 1 true Individual Customer Information Phone (IndividualCustomer­ Phone) Edm.String true 40 82 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 97. Name Type Nullable Max Length Fixed length $Search Relevant Individual Customer Information E-Mail (IndividualCusto­ merEMail) Edm.String true Individual Customer Information Mobile (IndividualCustomer­ Mobile) Edm.String true 40 Individual Customer Information Postal Code (AccountPosta­ ª´ã:hC½Æ¨ÀıÁlcMOˆòW‡2“�¿—éb¦¹¿ı�[‘Ú StreetPostalCode) Edm.String true 10 Account Information County (AccountPos­ ª´ãhc½Î¨åı×lbMNˆäW´-““¿–éb¦º¿‰�F¯¾„-æ÷ CountyName) Edm.String true 40 Account Information Address Line 1 (Ac­ ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É lementsStreetPrefix) Edm.String true 40 Account Information Address Line 2 (Ac­ ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É ª´ã:hg½Ï¨ÁıÝlrMOˆÀW£:“¡¿šén¦¸¿•�I¯¦¬N StreetPrefixName) Edm.String true 40 Individual Customer Information Street (AccountPostalAd­ ª´ã2hp½Ç¨×ıÀlCMPˆäWª;“¦¿šét¦—¿ı�Z¯¯„;ÆfiÉ Name) Edm.String true 60 Account Information Address Line 4 (Ac­ ª´ã5hm½×¨ÊıÇlVMSˆòW³?“¤¿¨éc¦³¿œ�M¯¹„-Æ¢É lementsStreetSufix) Edm.String true 40 SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 83
  • 98. Name Type Nullable Max Length Fixed length $Search Relevant Account Information Address Line 5 (Ac­ 0InßÞrœÖ£$qfl‡Ôvrnfl¬î2=h#…ï¨ˇ²dH M,b²—Me 0InÐÞxœÎ£/q”¦Ôjrfl¼î7=m…⨲xHR
  • 99. StreetSuffixName) Edm.String true 40 Account Information House Number (Ac­ 0InßÞrœÖ£$qfl‡Ôvrnfl¬î2=h#…ï¨ˇ²dH M,b²—Me lementsHouseID) Edm.String true 10 true Account Information P.O.Box (Account­ 0InìÞrœÐ£q†¾ÔXryfl¼î!=a…ø¨8²zH 1. mentsPOBoxID) Edm.String true 10 true Account Information Phone (Account­ Phone) Edm.String true 40 Account Information E-Mail (AccountE­ Mail) Edm.String true Account Information Mobile (AccountMo­ bile) Edm.String true 40 Account Information Fax (AccountFax) Edm.String true 40 Account Information Web Site (Account­ Website) Edm.String true AccountLatitude­ MeasureUnitCode Edm.String true 3 true Account Information Latitude (AccountLa­ titudeMeasure) Edm.Decimal true 31 AccountLongitude­ MeasureUnitCode Edm.String true 3 true 84 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 100. Name Type Nullable Max Length Fixed length $Search Relevant Account Information Longitude (Accoun­ tLongitudeMeasure) Edm.Decimal true 31 Account Information Language (Account­ ŠG−Ë'I$eł;ƒ¹´•Uõ„þK,9µGu_ [‘Z
  • 101. guageCode) Edm.String true 1 true AccountPreferred­ ŠG−Ë'I$zł$ƒ©´ŽUù„ñK9¹Fu˛_![ë¯+ diumTypeCode Edm.String true 3 true Contact Information Job Title (Contact­ ŠG−Î'S$ył*ƒ¨ ´�Uô„ñK$9—@u_[ë¯+ Name) Edm.String true 40 Contact Information Department from Business Card (Con­ ŠG−ü'G$tł=ƒŸ´•Uû„âK9½Lu˛_˘{ž Name) Edm.String true 40 Contact Information E-Mail Invalid (Con­ ŠG−ü'G$tł=ƒŽ-´‚Uó„üK˛9£Hu_ [Ê‘^
  • 102. pfJFå dIndicator) Edm.String true 1 true Contact Information Fax (ContactFacsimi­ ŠG−ä'C$Qłƒ® ´‚Uî„äK-9´gu_[ì‘^ Description) Edm.String true 40 Contact Information Building (Contact­ BuildingID) Edm.String true 10 true Contact Information Floor (Contact­ FloorID) Edm.String true 10 true Contact Information Room (ContactRoo­ mID) Edm.String true 10 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 85
  • 103. Name Type Nullable Max Length Fixed length $Search Relevant Account Information Legal Form (Accoun­ tLegalForm) Edm.String true 2 true Account Information D-U-N-S (Account­ DUNS) Edm.String true 60 Note (Note) Edm.String true Account Information Note (ORG_AC­ COUNT_NOTES) Edm.String true Contact Information Note (ContactNote) Edm.String true Table 71: Navigation Name From Entity To Entity Cardinality LeanLeadAttachmentFolder LeanLead LeanLeadAttachmentFolder 0.. * LeanLeadSalesAndMarke­ tingTeam LeanLead LeanLeadSalesAndMarke­ tingTeam 0.. * LeanLeadExternalParty LeanLead LeanLeadExternalParty 0.. * LeanLeadItem LeanLead LeanLeadItem 0.. * LeanLeadContact LeanLead LeanLeadContact 0.. * LeanLeadBusinessTransac­ tionDocumentReference LeanLead LeanLeadBusinessTransac­ tionDocumentReference 0.. * 2.1.11.2 Lead Attachment Overview The LeanLeadAttachmentFolder collection provides information about existing attached documents in the Leads. 86 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 104. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadAttachmentFolderCollection Table 72: Attribute Definition Name Type Nullable Max Length Fixed Length $Search Relevant Binary Edm.String true false CatagoryCode Edm.String false 1 true CatagoryCodeText Edm.String true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true LastUpdatedBy Edm.String false 80 true LastUpdatedOn Edm.DateTime true LinkWebURL Edm.String true false MimeType Edm.String true false Name Edm.String true false ObjectID Edm.String true 70 true PrimaryObjectID Edm.String true 70 true TypeCode Edm.String true 5 true TypeCodeText Edm.String true UUID Edm.Guid false 2.1.11.3 Lead Business Document Relationship Overview The LeanLeadBusinessTransactionDocumentReference collection provides information about business document references for leads. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 87
  • 105. Top Level Entity LeanLead Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadBusinessTransactionDocumentReference Collection Table 73: Properties Name Type Nullable Max Length Fixed Length $Search Relevant ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true ID Edm.String true 35 TypeCode Edm.String true 15 true UUID Edm.String true true ItemID Edm.String true 10 true ItemTypeCode Edm.String true 5 true ItemUUID Edm.Guid true BusinessTransac­ −•“|Ú°Ì×ÈÍ„¡×LgæR,œ7Iüt −¾'ˆfÍcã tionshipRoleCode Edm.String true 3 true Table 74: Notifications Name FromEntity ToEntity Cardinality LeanLead LeanLeadBusinessTransac­ tionDocumentReference LeanLead 1 .. 1 Appointment LeanLeadBusinessTransac­ tionDocumentReference Appointment 1 .. 1 PhoneCall LeanLeadBusinessTransac­ tionDocumentReference PhoneCall 1 .. 1 EMail LeanLeadBusinessTransac­ tionDocumentReference EMail 1 .. 1 88 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 106. Name FromEntity ToEntity Cardinality Task LeanLeadBusinessTransac­ tionDocumentReference Task 1 .. 1 2.1.11.4 Lead Involved Parties Overview The LeanLeadInvolvedParties collection provides information about involved parties in the leads. Top Level Entity LeanLead Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadExternalPartyCollection Table 75: Properties Name Type Nullable Max Length Fixed Length $Search Relevant EMail Edm.String true 765 true Mobile Edm.String true 350 true PartyName Edm.String true 480 ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true PartyID Edm.String true 60 PartyUUID Edm.String true Phone Edm.String true 350 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 89
  • 107. Name Type Nullable Max Length Fixed Length $Search Relevant MainIndicator Edm.String true MainPartyContact­ PartyID Edm.String true 60 true MainPartyContact­ PartyName Edm.String true MainPartyContact­ PartyUUID Edm.String true RoleCode Edm.String true 10 true Table 76: Navigation Name FromEntity ToEntity Cardinality LeanLead LeanLeadExternalParty LeanLead 1 .. 1 2.1.11.5 Lead Sales and Marketing Team Overview The LeanLeadSalesAndMarketingTeam collection provides information about sales and marketing team of leads. Top Level Entity LeanLead Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadSalesAndMarketingTeamCollection 90 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 108. Table 77: Properties Name Type Nullable Max Length Fixed Length $Search Relevant EMail Edm.String true 765 true Mobile Edm.String true 350 true PartyName Edm.String true ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true PartyID Edm.String true 60 PartyUUID Edm.Guidt true Phone Edm.String true 350 true MainIndicator Edm.String true RoleCode Edm.String true 10 true Table 78: Navigations Name FromEntity ToEntity Cardinality LeanLead LeanLeadSalesAndMarke­ tingTeam LeanLead 1 .. 1 2.1.11.6 Lead Product Overview The LeanLeadItem collection provides information about products in the Leads. Top Level Entity LeanLead SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 91
  • 109. Table 79: Properties Name Type Nullable Max Length Fixed Length $Search Relevant ProductCategory­ Description Edm.String true 80 ProductCategor­ yInternalID Edm.String true 20 true Description Edm.String true 40 ID Edm.String true 10 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true ProductID Edm.String true 60 Quantity Edm.Decimal true 31 unitCode Edm.String True 3 Table 80: Navigations Name FromEntity ToEntity Cardinality LeanLead LeanLeadItem LeanLead 1 .. 1 2.1.11.7 Lead Contact Overview The LeanLeadContact collection provides information about all the contacts related to an account of the lead. This collection cannot be created using OData service. There is a main single contact and multiple contacts for an opportunity. Top Level Entity LeanLead 92 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 110. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeanLeadContactCollection Table 81: Properties Name Type Nullable Max Length Fixed Length PartyID Edm.String false 1 true PartyUUID Edm.UUID true false EMail Edm.String true 80 true Mobile Edm.DateTime true PartyName Edm.String true 80 true ObjectID Edm.DateTime true Phone Edm.String true false MainIndicator Edm.Boolean true false Table 82: Navigations Name FromEntity ToEntity Cardinality LeanLead LeanLead_LeanLeadContact LeanLead 1 .. 1 SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 93
  • 111. 2.1.12 Sales Lead Entity Type The Sales Lead related collections allow you to read and maintain Sales Leads and related data such as products, parties involved and business transaction document references. 2.1.12.1 Sales Lead Overview The Sales Lead collection provides information about existing Sales Leads. 94 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 112. Request Elements URL https://CloudTenant/sap/c4c/odata/v1/c4codata/LeadCollection Properties Table 83: Name Type Nullable Max Lengt h Fixed length $Search Relevant AccountID Edm.String true 60 true AccountName c4codata.EN­ CRYPTED_LONG_Na me true AccountUUID Edm.Guid true CatagoryCode Edm.String true 4 true CatagoryCodeText Edm.String true ChangedBy Edm.String true 480 true ChangedByUUID Edm.Guid true ChangedOn Edm.DateTime true ConversionStatus­ Code Edm.String true 2 true ConversionStatusCo­ deText Edm.String true CreatedBy Edm.String true 480 true CreatedByUUID Edm.Guide true CreatedOn Edm.DateTimeOffset true EndDate Edm.DateTime true LeadConsistancy­ Code Edm.String false 2 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 95
  • 113. Name Type Nullable Max Lengt h Fixed length $Search Relevant LeadConsistancyCo­ deText Edm.String true LeadID Edm.String true 35 true true MarketingOwnerFor­ mattedName Edm.String true 480 true MarketingOwnerID Edm.String true 60 true MarketingOwner­ UUID Edm.Guid true MarketingOwnerFor­ mattedName Edm.String true 480 true MarketingUnitUUID Edm.Guid false Name c4codata.EX­ TENDED_Name false ObjectID Edm.String false 70 true PrimaryContactUUID Edm.Guid true PriorityCode Edm.String true 1 true PriorityCodeText Edm.String true ProcessingDatePer­ iod c4co­ b¬gÝ'Í“ö1J9A5¤˛£ê!Õê˚A3ø˜Å”) Period true QualificationLevel­ Code Edm.String true 2 true QualificationLevelCo­ deText Edm.String true ReasonForStatus­ Code Edm.String false 2 true ReasonForStatusCo­ deText Edm.String true SalesOwnerID Edm.String true 60 true SalesOwnerUUID Edm.Guid true 96 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 114. Name Type Nullable Max Lengt h Fixed length $Search Relevant SalesTerritoryID Edm.String true 6 true SalesTerritoryUUID Edm.Guid true SalesUnitID Edm.String true 60 true SalesUnitUUID Edm.Guid true SourceCode Edm.String true 3 true SourceCodeText Edm.String true StartDate Edm.DateTime true StatusCode Edm.String false 2 true StatusCodeText Edm.String true UUID Edm.Guid true Navigations Table 84: Name FromEntity ToEntity Cardinality LeadAttachment Lead LeadAttachment 1 .. * LeadBusinessDocumentRe­ ference Lead LeadBusinessDocumentRe­ ference 1 .. * LeadInvolvedParties Lead LeadInvolvedParties 1 .. * LeadProduct Lead LeadProduct 1 .. * LeadSalesAndMarketing­ Team Lead LeadSalesAndMarketing­ Team 1 .. * SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 97
  • 115. 2.1.12.2 Sales Lead Attachment Overview The LeadAttachment collection provides information about existing attached documents in Sales Leads. Top Level Entity Lead Properties Table 85: Name Type Nullable Max Length Fixed length $Search Relevant Binary Edm.String true false CatagoryCode Edm.String false 1 true CatagoryCodeText Edm.String true CreatedBy Edm.String true 80 true CreatedOn Edm.DateTime true DocumentLink Edm.String true LastUpdatedBy Edm.String false 80 true LastUpdatedOn Edm.DateTime true LinkWebURL Edm.String true false MimeType Edm.String true false Name Edm.String true false ObjectID Edm.String ture 70 true PrimaryObjectID Edm.String true 70 true 98 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 116. Name Type Nullable Max Length Fixed length $Search Relevant TypeCode Edm.String true 5 true TypeCodeText Edm.String true UUID Edm.Guid false 2.1.12.3 Sales Lead Business Document Reference Overview The LeadBusinessDocumentReference collection provides information about business document references for Sales Leads. Top Level Entity Lead Properties Table 86: Name Type Nullable Max Lengt h Fixed length $Search Relevant ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true ID Edm.String true 35 TypeCode Edm.String true 15 true TypeCodeText Edm.String true true UUID Edm.String true true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 99
  • 117. Name Type Nullable Max Lengt h Fixed length $Search Relevant ItemID Edm.String true 10 true ItemTypeCode c4codata.EN­ CRYPTED_LONG_Na me true 5 true ItemTypeCodeText Edm.String true ItemUUID Edm.Guid true BusinessTransac­ m²DÅ˛‘k�Yó¹B·@ «fiªP)²%1/•ŁÅ[�àÊ tionshipRoleCode Edm.String true 3 true BusinessTransac­ m²DÅ˛‘k�Yó¹B·@ «fiªP)²%1/•ŁÅ[�àÊ m²DÅ˛‘k�Yó”B·J ®fiŁP )°% /-•�ň[©àÊ Text Edm.String true Navigations Table 87: Name FromEntity ToEntity Cardinality Lead LeadBusinessDocumentRe­ ference Lead 1 .. 1 Lead LeadBusinessDocumentRe­ ference Opportunity 1 .. 1 Lead LeadBusinessDocumentRe­ ference Appointment 1 .. 1 Lead LeadBusinessDocumentRe­ ference EMail 1 .. 1 Lead LeadBusinessDocumentRe­ ference PhoneCall 1 .. 1 100 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 118. 2.1.12.4 Sales Lead Involved Parties Overview The LeadInvolvedParties collection provides information about involved parties in Sales Leads. Top Level Entity Lead Properties Table 88: Name Type Nullable Max Lengt h Fixed length $Search Relevant EMail Edm.String true 765 true Mobile Edm.Strin true 350 true Name c4codata.EN­ CRYPTED_LONG_Na me true ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true PartyID Edm.String true 60 PartyUUID Edm.Guidt true Phone Edm.String true 350 true Primary Edm.String true PrimaryContactID Edm.String true 60 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 101
  • 119. Name Type Nullable Max Lengt h Fixed length $Search Relevant PrimaryContact­ Name c4codata.EN­ CRYPTED_LONG_Na me true PrimaryContactUUID Edm.String true RoleCode Edm.String true 10 true RoleCodeText Edm.String true Navigations Table 89: Name FromEntity ToEntity Cardinality Lead LeadInvolvedParties Lead 1 .. 1 2.1.12.5 Sales Lead Product Overview The LeadProduct collection provides information about products in Sales Leads. Top Level Entity Lead 102 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 120. Properties Table 90: Name Type Nullable Max Lengt h Fixed length $Search Relevant Category c4codata.ME­ DIUM_Description true CategoryID Edm.String true 20 true Description Edm.String true ID c4co­ zuwÚQx†NÛ¤8ï’.ljŽÛécł.ÙO⁄E•®ZЃ¿1¸·ï#a tion true 10 true ObjectID Edm.String true 70 true ParentObjectID Edm.String true 70 true ProductID Edm.String true 60 Quantity c4codata.Quantity true Navigations Table 91: Name FromEntity ToEntity Cardinality Lead LeadProduct Lead 1 .. 1 2.1.12.6 Lead Sales and Marketing Overview The LeadSalesAndMarketingTeam collection provides information about Sales and Marketing team of Sales Leads. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 103
  • 121. Top Level Entity Lead Properties Table 92: Name Type Nullable Max Lengt h Fixed length $Search Relevant Email Edm.String true 765 true Mobile Edm.Strin true 350 true Name c4codata.EN­ CRYPTED_LONG_Na me true ObjectID Edm.String false 70 true ParentObjectID Edm.String true 70 true PartyID Edm.String true 60 PartyUUID Edm.Guidt true Phone Edm.String true 350 true Primary Edm.String true RoleCode Edm.String true 10 true RoleCodeText Edm.String true Navigations Table 93: Name FromEntity ToEntity Cardinality Lead LeadInvolvedParties Lead 1 .. 1 104 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 122. 2.1.13 Opportunity Entity Type The Opportunity related collections allow you to read and maintain Opportunities and related data such as products, sales teams and parties involved and sales activities performed. 2.1.13.1 Opportunity Overview The Opportunity collection provides information about all opportunities, and these opportunities represent potential sales. They can be displayed, edited, and even new ones can be created. Opportunities that are converted from Lead can also be edited. SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 105
  • 123. Properties Table 94: Name Type Nullable Max Length Fixed length AccountID Edm.String true 60 true AccountName Edm.String true AccountUUID true ApprovalStatusCode Edm.String true 2 ApprovalStatusCode­ Text CatagoryCode Edm.String true 4 true CatagoryCodeText Edm.String true ChangedBy Edm.String true 480 true ChangedByUUID Edm.Guid true ChangedOn Edm.DateTime true CloseDate Edm.DateTime true ConsistencyStatus­ Code Edm.String true ConsistencyStatusCo­ deText Edm.String true 2 CreatedByFormatted­ Name Edm.String true 480 CreatedByUUID Edm.String true CreatedOn Edm.DateTime true CustomStatusCode Edm.String true 5 true CustomStatusCode­ Text Edm.String true DistributionChannel­ Code Edm.String true 2 true DistributionChannelCo­ deText Edm.String true DivisionCode Edm.String true 2 true 106 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference
  • 124. Name Type Nullable Max Length Fixed length DivisionCodeText Edm.String true DocumentTypeCode Edm.String true 4 true DocumentTypeCode­ Text Edm.String true ExpectedValue false ForcastCatagoryCode Edm.String true 4 true ForcastCatagoryCode­ Text Edm.String true LastChangeDate Edm.DateTime true Name false ObjectID Edm.String false 70 true OpportunityID Edm.String true 35 true OwnerID Edm.String true 60 true OwnerName true OwnerUUID Edm.Guid true PrimaryContactID Edm.Sraing PrimaryContactName c4codata.EN­ CRYPTED_LONG_Na me false PrimaryContactUUID Edm.Guid true PriorityCode Edm.String true 1 true PriorityCodeText Edm.String true ProbabilityPercent Edm.Decimal true ProgressCode Edm.String true 2 true ProgressCodeText Edm.String true PublishToForcast Edm.Boolean true ReasonForStatusCode Edm.DateTime true 3 true SAP Hybris Cloud for Customer – OData Services OData API Reference P U B L I C 107
  • 125. Name Type Nullable Max Length Fixed length ReasonForStatusCode­ Text Edm.String true SalesCycleCode Edm.String true 3 true SalesCycleCodeText Edm.String SalesGroupID Edm.String true 20 true SalesOfficeID Edm.String true 20 true SalesOrganisationID Edm.String true 20 true SalesOrganisationUUID Edm.Guid true SalesPhaseCode Edm.String true 3 true SalesPhaseCodeText Edm.String true SalesTerritoryID Edm.String true 6 true SalesTerritoryUUID Edm.Guid true SalesUnitID Edm.String true 60 true SalesUnitUUID Edm.Guid true SourceCode Edm.String true 3 true SourceCodeText Edm.String true StartDate Edm.StartDate true StatusCode Edm.String true 2 true StatusCodeText Edm.String true TotalNegotiatedValue Edm.String false UUID Edm.Guid false WeightedValue Edm.String false 108 P U B L I C SAP Hybris Cloud for Customer – OData Services OData API Reference