PDF Export

This page describes the business partner rest web services.

create Business Partner Attribut

URL

POST: /rest/{client}/bp/{bpNumber}/attributes?sp={sp}&type={type}&value={value}

Parameter Description
client Mandantennummer
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
bpNumber Business Partner number
type Attribut type
value Attribut value

Corresponding SOAP Service: https://doc.dsb-ccb.net/en/ccbconnect/avs3/obj/bp/createattribute

Response

delete Business Partner Attribut

URL

DELETE: /rest/{client}/bp/{bpNumber}/attributes?sp={sp}&type={type}&value={value}

Parameter Description
client Mandantennummer
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
bpNumber Business Partner number
type Attribut type
value Attribut value

Corresponding SOAP Service: https://doc.dsb-ccb.net/en/ccbconnect/avs3/obj/bp/deleteattribute

Response

Get Business Partner by bp number

URL

GET: /rest/{client}/bp/{bpNumber}

Parameter Description
bpNumber business partner number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
getAllAdresses liefere alle, auch die zukünftigen Adressen (default: false)
filter comma seperated list of filters

Filters are sent as request parameter with a comma seperated list of key-value-pairs.

Example:

  &filter=filter1,filter2[key1=value1;key2=value2],filter2

List of available filters

Corresponing SOAP Service: getByBpNumber

Response

Get Business Partner by bp attribute

URL

GET: /rest/{client}/bp/attributes

Parameter Description
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
type Type of the attribute
value Value of the attribute
getAllAdresses liefere alle, auch die zukünftigen Adressen (default: false)
filter comma seperated list of filters

Filters are sent as request parameter with a comma seperated list of key-value-pairs.

Example:

  &filter=filter1,filter2[key1=value1;key2=value2],filter2

List of available filters

Corresponing SOAP Service: getByBpAttribute]]

Response

Get Subscriptions

URL

GET: /rest/{client}/bp/{bpNumber}/subscriptions

Corresponing SOAP Service: SubscriptionOrder::getByBpNumber.

Parameter Description
bpNumber business partner number
returnOnlyActive return only active subscriptions (default) or all
fromHit If the result set should be reduced, the you can pass here then first hit, that should be returned.
maxHitCount Number of the max.returned hits

Additional common parameters

A business partner can have a lot of of subscriptions (maybe thousands), so this request can take very long. We recommendate to limit the response with the maxHitCount parameter and read the subscriptions step by step if necessary.

Example:

  1. Request: /rest/{client}/bp/{bpNumber}/subscriptions?maxHitCount=100
  2. If the response contains 100 subscriptions there are maybe more. So use a second request to read them:
  3. /rest/{client}/bp/{bpNumber}/subscriptions?fromHit=101&maxHitCount=100
  4. and so on until the response contains less than 100 subscriptions.

Response

Get Payment Details

URL

GET: /rest/{client}/bp/{bpNumber}/payment-details

Parameter Description
bpNumber business partner number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)

Corresponing SOAP Service: PaymentDetails::getByBpNumber.

Response

Get PurchaseOrders

URL

GET: /rest/{client}/bp/{bpNumber}/purchase-orders

Parameter Description
bpNumber business partner number
client client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
only-delivery Return also purchase-orders where the business-partner has the role “consignee”. Default value is “false”.
date-from Reduce the result, so that purchase orders before that date are not returned. Format YYYY-MM-DD
date-to Reduce the result, so that purchase orders after that date are not returned. Format YYYY-MM-DD
filter comma seperated list of filters

Filters are sent as request parameter with a comma seperated list of key-value-pairs.

Example:

  &filter=filter1,filter2[key1=value1;key2=value2],filter2

List of available filters

Corresponing SOAP Service: getPurchaseOrders.

Response

Create business partner

Create a business partner. This service is buffered. To transfer the bp into the backend system an additional transfer job must be provided. Please request this job from your dsb account manager.

URL

POST: /rest/{client}/bp

ParameterDescription
client client id
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to use some sales orgas of the client)

Request Body

Response

Corresponding SOAP Service: createBpBuffered.

Change Address

Changes an address of a business partner. This service is buffered. To transfer the changes into the backend system an additional transfer job must be provided. Please request this job from your dsb account manager.

URL

POST: /rest/{clientId}/bp/{bp-number}/address

ParameterDescription
bp-numberbusiness partner number
clientId client ID
sp service provider. (mandatory if the user account can use different service provider values)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)

Request Body

Corresponing SOAP Service: changeBpAddressBuffered.

The service returns the request id.


Create Bouncemessage / push bounces

(Use only with appropriate Backendintegration in the ccb Suite)

This service creates a new bounce message within the ccb suite
Path mapping(intern): /net/dsb/commons/Email/pushBounces-1.0.0

URL

POST: /rest/{client}/bp/{bpNumber}/bounces?sp={sp}&so={so}

ParameterType/LengthDescription
client C/3Client ID
bpNumber C/10Businesspartner number(mandatory)
sp C/3service provider. (service provider. (mandatory if the user account can use different service provider values)
so N/4sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)

Request body

Response

Search bp address

This service searches for business partner
Path mapping(intern): /net/dsb/avs/BpSearch/searchByAddress-2.0.0

URL

POST: /rest/{client}/bpsearch?sp={sp}&so={so}

ParameterType/LengthDescription
client C/3Client ID
sp C/3service provider. (service provider. (mandatory if the user account can use different service provider values)
so C/4sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)
maxHits N max. number of results to return ( default: 20 )
fallbackSearch BIf the element is not specified then it is equal to an empty element or loaded with N. This is the standard case. If the element is explicitly filled with Y then it has the effect that there will be made an internally extended search with for example Wildcards. Therefore it can be lead to extended sample space. This search extension will only be executed if no result could be determined on he first search stage.(default: false)
searchContact BSearch also contact-person?. Default is „false“.Attention: This parameter is actually not supported in AVS/3. It is intended for future developments

Request body

Response

Get BP by email

Reads a BP by the email address.
Path mapping(intern): /net/dsb/avs3/Bp/search-1.0.0
SAP REST: /GET_GP_BY_EMAIL or /SEARCH_RFZAS

URL

GET: /rest/{client}/bp?sp={sp}&so={so}&email={address}

Parameter Type/Length Description
client C/3 Client ID
sp C/3 service provider. (mandatory, wenn der Account unterschiedliche Diensleister Kürzel nutzen kann)
so N/4 sales organization. (mandatory, wenn der Account unterschiedliche VkOrgs nutzen kann)
email C email address

Response

Corresponing SOAP Service: searchByAddress

BP deletion

Service allows to delete BP's identical to the dialog deletion in ccb suite. Path mapping(intern): /net/dsb/avs3/Bp/deleteBp-1.0.0

URL

POST: /rest/{client}/bp/{bpNumber}?sp={sp}&dryRun=true…

Parametertype/lengthdescription
client C/3Client
bpNumber C/10BP number (mandatory)
sp C/3service provider.
dryRun Btrue = Testrun
false or not provided = live run (default)

Response

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information