Evo Voice

<back to all web services

MapCrmUser

The following routes are available for this service:
POST/integrations/{integrationId}/users/{userId}/map
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class MapCrmUser
    {
        public String integrationId = null;
        public String userId = null;
        public String mapsToId = null;
        
        public String getIntegrationId() { return integrationId; }
        public MapCrmUser setIntegrationId(String value) { this.integrationId = value; return this; }
        public String getUserId() { return userId; }
        public MapCrmUser setUserId(String value) { this.userId = value; return this; }
        public String getMapsToId() { return mapsToId; }
        public MapCrmUser setMapsToId(String value) { this.mapsToId = value; return this; }
    }

}

Java MapCrmUser DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /integrations/{integrationId}/users/{userId}/map HTTP/1.1 
Host: evovoice.io 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MapCrmUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Integrations">
  <IntegrationId>String</IntegrationId>
  <MapsToId>String</MapsToId>
  <UserId>String</UserId>
</MapCrmUser>