Traffic
Click here for a complete list of operations.
InsertStation6
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 /TrafficWS/Traffic.asmx HTTP/1.1 Host: www.traf.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://service.radiotraffic.com/InsertStation6" <?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:Header> <AuthenticationHeader xmlns="http://service.radiotraffic.com/"> <Username>string</Username> <Password>string</Password> </AuthenticationHeader> </soap:Header> <soap:Body> <InsertStation6 xmlns="http://service.radiotraffic.com/"> <groupGuid>guid</groupGuid> <name>string</name> <callLetters>string</callLetters> <url>string</url> <invoiceCertifiedText>string</invoiceCertifiedText> <invoiceNotaryText>string</invoiceNotaryText> <invoiceFooterComment>string</invoiceFooterComment> <address>string</address> <city>string</city> <stateId>int</stateId> <stateInternational>string</stateInternational> <postal>string</postal> <countryId>int</countryId> <printAddressOverride>string</printAddressOverride> <phone>string</phone> <logLength>int</logLength> <prelockLength>int</prelockLength> <advertiserLongevityLevel>int</advertiserLongevityLevel> <dateEnteredLevel>int</dateEnteredLevel> <orderLengthLevel>int</orderLengthLevel> <priorityLevel>int</priorityLevel> <quantitySpotsLevel>int</quantitySpotsLevel> <ratePercentLevel>int</ratePercentLevel> <schedulingWindowLevel>int</schedulingWindowLevel> <emailMyTimesSubject>string</emailMyTimesSubject> <emailMyTimesBody>string</emailMyTimesBody> <invoiceSubject>string</invoiceSubject> <invoiceBody>string</invoiceBody> <automationTypeId>int</automationTypeId> <automationLogPath>string</automationLogPath> <automationAirPath>string</automationAirPath> <automationTag>string</automationTag> <trashed>boolean</trashed> <separationTypeId>int</separationTypeId> <separationAmount>int</separationAmount> <marketGroupingId>int</marketGroupingId> <formatGroupingId>int</formatGroupingId> <financeGroupingId>int</financeGroupingId> <impressionWeb>int</impressionWeb> <impressionStream>int</impressionStream> <businessNumber>string</businessNumber> </InsertStation6> </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> <InsertStation6Response xmlns="http://service.radiotraffic.com/"> <InsertStation6Result>int</InsertStation6Result> </InsertStation6Response> </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 /TrafficWS/Traffic.asmx HTTP/1.1 Host: www.traf.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:Header> <AuthenticationHeader xmlns="http://service.radiotraffic.com/"> <Username>string</Username> <Password>string</Password> </AuthenticationHeader> </soap12:Header> <soap12:Body> <InsertStation6 xmlns="http://service.radiotraffic.com/"> <groupGuid>guid</groupGuid> <name>string</name> <callLetters>string</callLetters> <url>string</url> <invoiceCertifiedText>string</invoiceCertifiedText> <invoiceNotaryText>string</invoiceNotaryText> <invoiceFooterComment>string</invoiceFooterComment> <address>string</address> <city>string</city> <stateId>int</stateId> <stateInternational>string</stateInternational> <postal>string</postal> <countryId>int</countryId> <printAddressOverride>string</printAddressOverride> <phone>string</phone> <logLength>int</logLength> <prelockLength>int</prelockLength> <advertiserLongevityLevel>int</advertiserLongevityLevel> <dateEnteredLevel>int</dateEnteredLevel> <orderLengthLevel>int</orderLengthLevel> <priorityLevel>int</priorityLevel> <quantitySpotsLevel>int</quantitySpotsLevel> <ratePercentLevel>int</ratePercentLevel> <schedulingWindowLevel>int</schedulingWindowLevel> <emailMyTimesSubject>string</emailMyTimesSubject> <emailMyTimesBody>string</emailMyTimesBody> <invoiceSubject>string</invoiceSubject> <invoiceBody>string</invoiceBody> <automationTypeId>int</automationTypeId> <automationLogPath>string</automationLogPath> <automationAirPath>string</automationAirPath> <automationTag>string</automationTag> <trashed>boolean</trashed> <separationTypeId>int</separationTypeId> <separationAmount>int</separationAmount> <marketGroupingId>int</marketGroupingId> <formatGroupingId>int</formatGroupingId> <financeGroupingId>int</financeGroupingId> <impressionWeb>int</impressionWeb> <impressionStream>int</impressionStream> <businessNumber>string</businessNumber> </InsertStation6> </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> <InsertStation6Response xmlns="http://service.radiotraffic.com/"> <InsertStation6Result>int</InsertStation6Result> </InsertStation6Response> </soap12:Body> </soap12:Envelope>