Insert leads in mykaarma (For MMC) .
Insert leads in mykaarma (For MMC) .
Header Parameters
authorization string required
application/xml
application/json
text/xml
Request Body required
applicationArea object
serviceAppointment object
Request Body required
applicationArea object
serviceAppointment object
Request Body required
applicationArea object
serviceAppointment object
Responses
- 200
- 204
- 400
- 401
- 403
- 404
- 500
OK
application/xml
application/json
text/xml
Schema
Example (from schema)
Schema
object
<root/>
Schema
Example (from schema)
Schema
object
{}
Schema
Example (from schema)
Schema
object
<root/>
No Content
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
Bad Request
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
Forbidden
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
Not Found
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
statusCode int32
error object
warnings object[]
{
"statusCode": 0,
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"warnings": [
{
"code": "string",
"description": "string",
"metadata": {}
}
]
}
POST /v2/
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
python / requests
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
go / native
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
nodejs / axios
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
ruby / Net::HTTP
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
csharp / RestSharp
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
php / cURL
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
java / OkHttp
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'
powershell / RestMethod
curl -L -X POST '/leads/v2/' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
--data-raw '<applicationArea><creationDateTime>string</creationDateTime><sender><referenceId>string</referenceId><languageCode>string</languageCode><taskId>string</taskId></sender><destination><dealerNumberId>string</dealerNumberId><partyReceiverId>string</partyReceiverId></destination></applicationArea><serviceAppointment><serviceAppointmentHeader><appointmentContactParty><specifiedPerson><salutation>string</salutation><givenName>string</givenName><familyName>string</familyName><uriCommunication><uriid>string</uriid></uriCommunication><telephoneCommunication><localNumber>string</localNumber><channelCode>string</channelCode></telephoneCommunication><residenceAddress><lineOne>string</lineOne><cityname>string</cityname><postcode>string</postcode></residenceAddress></specifiedPerson></appointmentContactParty></serviceAppointmentHeader><serviceAppointmentDetail><vehicleLineItem><vehicle><uuid>string</uuid><trackingId>string</trackingId><topic>string</topic><description>string</description></vehicle></vehicleLineItem></serviceAppointmentDetail></serviceAppointment>'