OrganisationSvc


Click here for a complete list of operations.

DeleteRelatedEntity

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SingleView/Entities/OrganisationSvc.asmx HTTP/1.1
Host: simplicitycrm.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SoapAction: "http://services.simplicitycrm.com/dataintegration/DeleteRelatedEntity"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <DeleteRelatedEntity xmlns="http://services.simplicitycrm.com/dataintegration">
      <Token>string</Token>
      <RSN>string</RSN>
      <DisplayValue>string</DisplayValue>
      <EntityToDelete>
        <Relationship_Type>Dealer_x_PostalCode or OrderPartyPicker_Order_Organisation or Organisation_ChannelBlock_Dealer_Organisation_Perspective or Organisation_ChannelBlock_Dealer_Dealer_Perspective or Organisation_CurrentEmployerStaff_Person or Organisation_EmployerStaff_Person or Organisation_LegacySystemHistory or Survey_SurveyAnswers_Organisation or AuditLog_Entity_x_EntityColumn_Organisation or Organisation_OrderBilled or Organisation_OrderCancelled or Organisation_OrderCompleted or Organisation_OrderCreditHold or Organisation_OrderInProgress or Organisation_OrderOpportunity or Organisation_OrderQuotation or Organisation_OrderToBeBilled or Organisation_PreviousEmployerStaff_Person or Organisation_Project or Card_Organisation or Invoice_BillToOrganisation or Invoice_Organisation or ProgramMembership_Organisation or AuditLog_Entity_x_LookupListItem_Organisation or AuditLog_Entity_x_OptInOptOut_Organisation or ManagementGroup_x_Organisation or Organisation_Registrant or Organisation_RemoteSystemCustomerCode or Organisation_SICCode or Organisation_Staff or Organisation_SurveyAnswers or Project_ChannelBlock_Dealer or Voucher_x_Store or Organisation_x_AccountManager or Case_x_Organisation or MembershipGroup_Members_ParentOrganisation_Perspective or MembershipGroup_Members_MemberOrganisation_Perspective or OnlineShoppingAccount_Organisation or Organisation_x_Action or Organisation_x_AuditNotes or Organisation_x_BinaryData or Organisation_x_Documents or Organisation_x_Notes or Organisation_x_OriginatingSource or Organisation_x_Program or Organisation_x_SecurityAccount or OrganisationCorporateGroup_Parent_OrganisationCorporateGroup_Perspective or OrganisationCorporateGroup_Parent_Parent_Perspective or OrganisationCorporteGroup_Children_OrganisationCorporteGroup_Perspective or OrganisationCorporteGroup_Children_Child_Perspective or OrganisationRelatedDealers_Children_OrganisationRelatedDealer_Perspective or OrganisationRelatedDealers_Children_Child_Perspective or OrganisationRelatedDealers_Parent_OrganisationRelatedDealer_Perspective or OrganisationRelatedDealers_Parent_Parent_Perspective or PurchaseOrder_Customer_Organisation or CustomerAccount_ChannelBlock_Dealer or CustomerAccount_Organisation or CustomerAccount_Owner_Organisation or Person_ChannelBlock_Dealer or PurchaseOrder_Supplier_Organisation or Person_x_Dealer or TransactionItem_Dealer or TransactionItem_Organisation or Organisation_x_AccountDirector or Order_BillToOrganisation or SecurityAccount_Branch or SecurityAccount_OwnedBy_Organisation or Order_ChannelBlock_Dealer or Order_Organisation or Order_x_AgencyInvolved or CampaignArchive_ActivitySummary_Organisation or DataLoad_Organisation_x_Organisation or DataLoad_Rel_Staff_Employer_x_Organisation or CampaignList_Organisation</Relationship_Type>
        <Join_RSN>string</Join_RSN>
        <Entity_RSN>string</Entity_RSN>
        <Entity_DisplayValue>string</Entity_DisplayValue>
        <Entity_Type>string</Entity_Type>
      </EntityToDelete>
    </DeleteRelatedEntity>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <DeleteRelatedEntityResponse xmlns="http://services.simplicitycrm.com/dataintegration">
      <DeleteRelatedEntityResult>int</DeleteRelatedEntityResult>
    </DeleteRelatedEntityResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SingleView/Entities/OrganisationSvc.asmx HTTP/1.1
Host: simplicitycrm.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <DeleteRelatedEntity xmlns="http://services.simplicitycrm.com/dataintegration">
      <Token>string</Token>
      <RSN>string</RSN>
      <DisplayValue>string</DisplayValue>
      <EntityToDelete>
        <Relationship_Type>Dealer_x_PostalCode or OrderPartyPicker_Order_Organisation or Organisation_ChannelBlock_Dealer_Organisation_Perspective or Organisation_ChannelBlock_Dealer_Dealer_Perspective or Organisation_CurrentEmployerStaff_Person or Organisation_EmployerStaff_Person or Organisation_LegacySystemHistory or Survey_SurveyAnswers_Organisation or AuditLog_Entity_x_EntityColumn_Organisation or Organisation_OrderBilled or Organisation_OrderCancelled or Organisation_OrderCompleted or Organisation_OrderCreditHold or Organisation_OrderInProgress or Organisation_OrderOpportunity or Organisation_OrderQuotation or Organisation_OrderToBeBilled or Organisation_PreviousEmployerStaff_Person or Organisation_Project or Card_Organisation or Invoice_BillToOrganisation or Invoice_Organisation or ProgramMembership_Organisation or AuditLog_Entity_x_LookupListItem_Organisation or AuditLog_Entity_x_OptInOptOut_Organisation or ManagementGroup_x_Organisation or Organisation_Registrant or Organisation_RemoteSystemCustomerCode or Organisation_SICCode or Organisation_Staff or Organisation_SurveyAnswers or Project_ChannelBlock_Dealer or Voucher_x_Store or Organisation_x_AccountManager or Case_x_Organisation or MembershipGroup_Members_ParentOrganisation_Perspective or MembershipGroup_Members_MemberOrganisation_Perspective or OnlineShoppingAccount_Organisation or Organisation_x_Action or Organisation_x_AuditNotes or Organisation_x_BinaryData or Organisation_x_Documents or Organisation_x_Notes or Organisation_x_OriginatingSource or Organisation_x_Program or Organisation_x_SecurityAccount or OrganisationCorporateGroup_Parent_OrganisationCorporateGroup_Perspective or OrganisationCorporateGroup_Parent_Parent_Perspective or OrganisationCorporteGroup_Children_OrganisationCorporteGroup_Perspective or OrganisationCorporteGroup_Children_Child_Perspective or OrganisationRelatedDealers_Children_OrganisationRelatedDealer_Perspective or OrganisationRelatedDealers_Children_Child_Perspective or OrganisationRelatedDealers_Parent_OrganisationRelatedDealer_Perspective or OrganisationRelatedDealers_Parent_Parent_Perspective or PurchaseOrder_Customer_Organisation or CustomerAccount_ChannelBlock_Dealer or CustomerAccount_Organisation or CustomerAccount_Owner_Organisation or Person_ChannelBlock_Dealer or PurchaseOrder_Supplier_Organisation or Person_x_Dealer or TransactionItem_Dealer or TransactionItem_Organisation or Organisation_x_AccountDirector or Order_BillToOrganisation or SecurityAccount_Branch or SecurityAccount_OwnedBy_Organisation or Order_ChannelBlock_Dealer or Order_Organisation or Order_x_AgencyInvolved or CampaignArchive_ActivitySummary_Organisation or DataLoad_Organisation_x_Organisation or DataLoad_Rel_Staff_Employer_x_Organisation or CampaignList_Organisation</Relationship_Type>
        <Join_RSN>string</Join_RSN>
        <Entity_RSN>string</Entity_RSN>
        <Entity_DisplayValue>string</Entity_DisplayValue>
        <Entity_Type>string</Entity_Type>
      </EntityToDelete>
    </DeleteRelatedEntity>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <DeleteRelatedEntityResponse xmlns="http://services.simplicitycrm.com/dataintegration">
      <DeleteRelatedEntityResult>int</DeleteRelatedEntityResult>
    </DeleteRelatedEntityResponse>
  </soap12:Body>
</soap12:Envelope>

JSON

The following is a sample JSON request and response. The placeholders shown need to be replaced with actual values.

POST /SingleView/api/Entities/OrganisationSvc/{RSN:string}/rel/{Relationship_Type:string}/delete HTTP/1.1
Host: simplicitycrm.com
Content-Type: application/json; charset=utf-8
Content-Length: length
Authorization: Token string

{
  "DisplayValue":string,
  "EntityToDelete":{
    "Join_RSN":string,
    "Entity_RSN":string,
    "Entity_DisplayValue":string,
    "Entity_Type":string,
  },
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "ErrorCode":int,
}