Extension v4
Interface
Extension to the standard interface.
If the ”ID's” columns are used then the corresponding columns for name or value would be ignored.
Actions can be done:
list
full list
create
update
delete
#
Field Name
Organization_ID
BPartner_ID
BPGroup_ID
BPartner_ID
Name2
ReferenceNo
RDS_DataLichidare
Description
The unique ID of the Organization
Data type
Action
ReadWrite
ReadWrite
ReadWrite
ReadOnly
ReadOnly
Mandatory
when Inserting
dependent
entities
Create
The unique ID of the Partner Parent
Numeric
Numeric
Numeric
Numeric
Alphanumeric
Alphanumeric
Data
The unique ID of the Partner Group
The unique ID of the Partner
ERP/CRM
Y
API Methods:
List:
URL: https://api.socratecloud.com/webapi/rest/bpartner/list/0?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Available filter parameters:
Organization_ID
BPartner_ID
BPGroup_ID
ReferenceNo
Name2
It is allowed to search with "like" function on this parameter. Ex. Name2=%string, in this case the system will list all Business Partners which contain Name2 like %string% (case insensitive).
List headers and details:
URL: https://api.socratecloud.com/webapi/rest/bpartner/full/list/0?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Available filter parameters:
Organization_ID
BPartner_ID
BPGroup_ID
ReferenceNo
Name2
Create header and details:
URL: https://api.socratecloud.com/webapi/rest/bpartner/full/create/{version}?accessToken={access_token}
Method: POST
Return: business partner value or BPartner_ID for success or error message (start with "ERROR: ")
Update header only:
URL: https://api.socratecloud.com/webapi/rest/bpartner/update/{version}?accessToken={access_token}&Value={bpartner_value}
Method: POST
Return: customer value for success or error message (start with "ERROR: ")
Delete:
URL: https://api.socratecloud.com/webapi/rest/bpartner/delete/{version}?accessToken={access_token}&Value={bpartner_value}
Method: POST
Return: 'Deleted' for success or error message (start with "ERROR: ")