HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/MarketingCostRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: application/xml
Content-Length: length
<MarketingCostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<MarketingCost>
<MarketingCost>
<After5PM>0</After5PM>
<After5PMCost>0</After5PMCost>
<AgencyName>String</AgencyName>
<AgentName>String</AgentName>
<AgentNumber>String</AgentNumber>
<Allstar>0</Allstar>
<Allstar2>0</Allstar2>
<Allstar2Cost>0</Allstar2Cost>
<AllstarCost>0</AllstarCost>
<Axiom>0</Axiom>
<AxiomCost>0</AxiomCost>
<Before5PM>0</Before5PM>
<Before5PMCost>0</Before5PMCost>
<CPA>0</CPA>
<CPACost>0</CPACost>
<DateRange>String</DateRange>
<DeepFunnel>0</DeepFunnel>
<DeepFunnelCost>0</DeepFunnelCost>
<Id>0</Id>
<InsureCost>0</InsureCost>
<InsureLeads>0</InsureLeads>
<MLCPA>0</MLCPA>
<MLCPACost>0</MLCPACost>
<Month>String</Month>
<MoonLimeMediaCost>0</MoonLimeMediaCost>
<MoonLimeMediaInbounds>0</MoonLimeMediaInbounds>
<OTCCost>0</OTCCost>
<OTCInbounds>0</OTCInbounds>
<PrimeCost>0</PrimeCost>
<PrimeLeads>0</PrimeLeads>
<SK120>0</SK120>
<SK120Cost>0</SK120Cost>
<SK1Cost>0</SK1Cost>
<SK2Cost>0</SK2Cost>
<SKCPA>0</SKCPA>
<SKCPACost>0</SKCPACost>
<SKLeads1>0</SKLeads1>
<SKLeads2>0</SKLeads2>
<SocialCost>0</SocialCost>
<SocialMediaInbounds>0</SocialMediaInbounds>
<Spanish>0</Spanish>
<SpanishCost>0</SpanishCost>
<Status2Cost>0</Status2Cost>
<StatusDentalCost>0</StatusDentalCost>
<StatusLeads2>0</StatusLeads2>
<StatusLeadsDental>0</StatusLeadsDental>
<TotalApps>0</TotalApps>
<TotalCPA>0</TotalCPA>
<TotalCost>0</TotalCost>
<Week>0</Week>
</MarketingCost>
</MarketingCost>
<Month>String</Month>
<ReportType>String</ReportType>
<Week>0</Week>
</MarketingCostRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MarketingCostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<ReportData>
<MarketingCost>
<After5PM>0</After5PM>
<After5PMCost>0</After5PMCost>
<AgencyName>String</AgencyName>
<AgentName>String</AgentName>
<AgentNumber>String</AgentNumber>
<Allstar>0</Allstar>
<Allstar2>0</Allstar2>
<Allstar2Cost>0</Allstar2Cost>
<AllstarCost>0</AllstarCost>
<Axiom>0</Axiom>
<AxiomCost>0</AxiomCost>
<Before5PM>0</Before5PM>
<Before5PMCost>0</Before5PMCost>
<CPA>0</CPA>
<CPACost>0</CPACost>
<DateRange>String</DateRange>
<DeepFunnel>0</DeepFunnel>
<DeepFunnelCost>0</DeepFunnelCost>
<Id>0</Id>
<InsureCost>0</InsureCost>
<InsureLeads>0</InsureLeads>
<MLCPA>0</MLCPA>
<MLCPACost>0</MLCPACost>
<Month>String</Month>
<MoonLimeMediaCost>0</MoonLimeMediaCost>
<MoonLimeMediaInbounds>0</MoonLimeMediaInbounds>
<OTCCost>0</OTCCost>
<OTCInbounds>0</OTCInbounds>
<PrimeCost>0</PrimeCost>
<PrimeLeads>0</PrimeLeads>
<SK120>0</SK120>
<SK120Cost>0</SK120Cost>
<SK1Cost>0</SK1Cost>
<SK2Cost>0</SK2Cost>
<SKCPA>0</SKCPA>
<SKCPACost>0</SKCPACost>
<SKLeads1>0</SKLeads1>
<SKLeads2>0</SKLeads2>
<SocialCost>0</SocialCost>
<SocialMediaInbounds>0</SocialMediaInbounds>
<Spanish>0</Spanish>
<SpanishCost>0</SpanishCost>
<Status2Cost>0</Status2Cost>
<StatusDentalCost>0</StatusDentalCost>
<StatusLeads2>0</StatusLeads2>
<StatusLeadsDental>0</StatusLeadsDental>
<TotalApps>0</TotalApps>
<TotalCPA>0</TotalCPA>
<TotalCost>0</TotalCost>
<Week>0</Week>
</MarketingCost>
</ReportData>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</MarketingCostResponse>