Skip to content

Commit

Permalink
#1088: add All Contacts to attributeSet response
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Aug 23, 2023
1 parent f363b65 commit 9af8def
Show file tree
Hide file tree
Showing 2 changed files with 277 additions and 6 deletions.
7 changes: 2 additions & 5 deletions test/resources/9999999/attributeSet/retrieve-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@
"leftRelationshipReferenceType": "CustomerData",
"relationshipAttributes": [
{
"c__rightFullyQualifiedName": "testExisting_dataExtensionShared.ContactKey",
"leftAttributeID": "37778523-13f7-e911-a2d8-1402ec938a35",
"leftConnectingID": {
"identifierType": "FullyQualifiedName"
}
"c__leftFullyQualifiedName": "Contact.Contact Key",
"c__rightFullyQualifiedName": "testExisting_dataExtensionShared.ContactKey"
}
],
"relationshipID": "598b787a-5238-ee11-b85a-48df37d1de8a",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19827,7 +19827,7 @@
"leftRelationshipReferenceType": "CustomerData",
"relationshipAttributes": [
{
"leftAttributeID": "37778523-13f7-e911-a2d8-1402ec938a35",
"leftAttributeID": "9503534e-6816-e811-80d0-1402ec7222b5",
"leftConnectingID": {
"identifierType": "FullyQualifiedName"
},
Expand Down Expand Up @@ -20180,6 +20180,280 @@
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
"setDefinitionKey": "testExisting_dataExtensionShared",
"name": "testExisting_dataExtensionShared"
},
{
"definitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "Contact",
"definitionName": {
"value": "Contact"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"relationships": [
{
"canModify": false,
"canRemove": false,
"isHidden": false,
"isSystemDefined": false,
"isGroupToSetRelationship": true,
"leftItem": {
"cardinality": "One",
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"identifier": "9103534e-6816-e811-80d0-1402ec7222b5",
"relationshipType": "AttributeGroup"
},
"leftRelationshipIDs": [
{
"type": "int16",
"value": "2"
}
],
"leftRelationshipReferenceType": "CustomerData",
"relationshipAttributes": [
{
"leftAttributeID": "9403534e-6816-e811-80d0-1402ec7222b5",
"leftConnectingID": {
"identifierType": "FullyQualifiedName"
},
"rightAttributeID": "9403534e-6816-e811-80d0-1402ec7222b5",
"rightConnectingID": {
"identifierType": "FullyQualifiedName"
}
}
],
"relationshipID": "9a03534e-6816-e811-80d0-1402ec7222b5",
"rightItem": {
"cardinality": "One",
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"identifier": "9203534e-6816-e811-80d0-1402ec7222b5",
"relationshipType": "AttributeSet"
}
}
],
"valueDefinitions": [
{
"baseType": "Numeric",
"customerDataID": 9,
"dataSourceID": 1,
"dataSourceName": {},
"dataType": "Byte",
"description": "",
"localizedDescription": {
"value": ""
},
"definitionID": "660eea87-ed21-ee11-b861-48df37d1dc79",
"definitionKey": "Status",
"definitionName": {
"value": "Status"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"fullyQualifiedName": "Contact.Status",
"isHidden": true,
"isIdentityValue": false,
"isNullable": true,
"isPrimaryKey": false,
"isReadOnly": true,
"isSystemDefined": true,
"isUpdateable": false,
"parentDefinition": {
"definitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "Contact",
"definitionName": {
"value": "Contact"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
}
},
"parentType": "Set",
"storageName": "Status",
"valueDefinitionID": "660eea87-ed21-ee11-b861-48df37d1dc79",
"valueDefinitionKey": "Status",
"name": "Status",
"setDefinitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"setDefinitionKey": "Contact",
"setDefinitionName": {
"value": "Contact"
},
"parentIdentifier": "9203534e-6816-e811-80d0-1402ec7222b5"
},
{
"baseType": "Numeric",
"customerDataID": 1,
"dataSourceID": 1,
"dataSourceName": {},
"dataType": "Number",
"description": "",
"localizedDescription": {
"value": ""
},
"definitionID": "9303534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "BusinessUnitID",
"definitionName": {
"value": "Business Unit ID"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"fullyQualifiedName": "Contact.Business Unit ID",
"isHidden": true,
"isIdentityValue": false,
"isNullable": false,
"isPrimaryKey": true,
"isReadOnly": true,
"isSystemDefined": true,
"isUpdateable": false,
"parentDefinition": {
"definitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "Contact",
"definitionName": {
"value": "Contact"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
}
},
"parentType": "Set",
"storageName": "ClientID",
"valueDefinitionID": "9303534e-6816-e811-80d0-1402ec7222b5",
"valueDefinitionKey": "BusinessUnitID",
"name": "Business Unit ID",
"setDefinitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"setDefinitionKey": "Contact",
"setDefinitionName": {
"value": "Contact"
},
"parentIdentifier": "9203534e-6816-e811-80d0-1402ec7222b5"
},
{
"baseType": "Text",
"customerDataID": 3,
"dataSourceID": 1,
"dataSourceName": {},
"dataType": "Text",
"description": "",
"localizedDescription": {
"value": ""
},
"definitionID": "9503534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "ContactKey",
"definitionName": {
"value": "Contact Key"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"fullyQualifiedName": "Contact.Contact Key",
"isHidden": false,
"isIdentityValue": false,
"isNullable": false,
"isPrimaryKey": false,
"isReadOnly": true,
"isSystemDefined": true,
"isUpdateable": false,
"length": -1,
"parentDefinition": {
"definitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "Contact",
"definitionName": {
"value": "Contact"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
}
},
"parentType": "Set",
"storageName": "SubscriberKey",
"valueDefinitionID": "9503534e-6816-e811-80d0-1402ec7222b5",
"valueDefinitionKey": "ContactKey",
"name": "Contact Key",
"setDefinitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"setDefinitionKey": "Contact",
"setDefinitionName": {
"value": "Contact"
},
"parentIdentifier": "9203534e-6816-e811-80d0-1402ec7222b5"
},
{
"baseType": "Numeric",
"customerDataID": 2,
"dataSourceID": 1,
"dataSourceName": {},
"dataType": "Number",
"description": "",
"localizedDescription": {
"value": ""
},
"definitionID": "9403534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "ContactID",
"definitionName": {
"value": "Contact ID"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
},
"fullyQualifiedName": "Contact.Contact ID",
"isHidden": false,
"isIdentityValue": false,
"isNullable": false,
"isPrimaryKey": true,
"isReadOnly": true,
"isSystemDefined": true,
"isUpdateable": false,
"parentDefinition": {
"definitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"definitionKey": "Contact",
"definitionName": {
"value": "Contact"
},
"connectingID": {
"identifierType": "FullyQualifiedName"
}
},
"parentType": "Set",
"storageName": "SubscriberID",
"valueDefinitionID": "9403534e-6816-e811-80d0-1402ec7222b5",
"valueDefinitionKey": "ContactID",
"name": "Contact ID",
"setDefinitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"setDefinitionKey": "Contact",
"setDefinitionName": {
"value": "Contact"
},
"parentIdentifier": "9203534e-6816-e811-80d0-1402ec7222b5"
}
],
"applicationID": "ce703ed3-e01f-4f5f-900d-76a95b363e29",
"applicationKey": "com.exacttarget.contacts",
"attributeCount": 0,
"canAddValues": false,
"canChangeValues": false,
"canModify": false,
"canRemove": false,
"createdBy": -1000,
"createDate": "2018-02-20T12:03:00",
"localizedDescription": {},
"fullyQualifiedName": "Contact",
"isCustomObjectBacked": false,
"isEvent": false,
"isHidden": false,
"isReadOnly": true,
"isRoot": false,
"isSendable": false,
"isSystemDefined": true,
"parentID": "00000000-0000-0000-0000-000000000000",
"relationshipCount": 1,
"storageObjectIDs": ["2ba72136-9f31-4a79-ab62-4ba5d19cd759"],
"setDefinitionID": "9203534e-6816-e811-80d0-1402ec7222b5",
"setDefinitionKey": "Contact",
"name": "Contact"
}
],
"responseContext": {
Expand Down

0 comments on commit 9af8def

Please sign in to comment.