Zum Inhalt springen

createAddress

Creates a new address. It is subordinated to the parentID. The user must have insert access right on the parentID.

Type: AddressCreateResult!

Arguments

  • address: AddressCreateInput! — The address to create.
  • objectType: String — Object-type of the new object. If not providet, the default object type is taken. (deprecated: Use input.objectType)
  • parentID: ID — Parent object to subordinate the new object. Either a objectID, objectGUID or a specialtype. (deprecated: Use input.parentID)
mutation($address: AddressCreateInput!, $objectType: String, $parentID: ID) {
createAddress(address: $address, objectType: $objectType, parentID: $parentID) {
address {
addressAsText
areaCode
attentionTo
cellPhone
childItemLinkType
city
co
company
countryCode
department
email
email2
email3
fax
id
isDefaultBillAddress
isDefaultMailingAddress
jobFunction
phone
phoneDirect
poBox
province
skypeName
state
street
streetNr
types
url
}
errorData
errorType
id
message
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
status
}
}