TvSupport


Click here for a complete list of operations.

CreateAgencyUser

Acente kullanıcı kartını eklemek için kullanılır.

token :Önceden web servisler için login olunan token
pTVUser :Ekleme yapılacak acente kullancı kaydı katarı

dönen değer :Eğer kayıt başarılı ise true döner. Herhangi bir aksaklık oldu ise false döner.

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 /TvWebServicesTest/TvSupport.asmx HTTP/1.1
Host: tivrona.tourvisio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tourvisio.com/CreateAgencyUser"

<?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>
    <CreateAgencyUser xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <pTVUser>
        <UserId>int</UserId>
        <IsDeleted>boolean</IsDeleted>
        <UserCode>string</UserCode>
        <Password>string</Password>
        <AccountId>string</AccountId>
        <ExpDate>dateTime</ExpDate>
        <Name>string</Name>
        <Status>boolean</Status>
        <EMail>string</EMail>
        <Mobile>string</Mobile>
        <Phone>string</Phone>
        <HAddress>string</HAddress>
        <ShowAllRes>boolean</ShowAllRes>
        <CanEditOthRes>boolean</CanEditOthRes>
        <ExpedintID>string</ExpedintID>
        <Pin>string</Pin>
        <LoginId>string</LoginId>
        <Supervisor>boolean</Supervisor>
        <Pxm_ID>guid</Pxm_ID>
        <AgencyPxm_ID>guid</AgencyPxm_ID>
        <Note>string</Note>
      </pTVUser>
    </CreateAgencyUser>
  </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>
    <CreateAgencyUserResponse xmlns="http://www.tourvisio.com/">
      <CreateAgencyUserResult>boolean</CreateAgencyUserResult>
    </CreateAgencyUserResponse>
  </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 /TvWebServicesTest/TvSupport.asmx HTTP/1.1
Host: tivrona.tourvisio.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>
    <CreateAgencyUser xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <pTVUser>
        <UserId>int</UserId>
        <IsDeleted>boolean</IsDeleted>
        <UserCode>string</UserCode>
        <Password>string</Password>
        <AccountId>string</AccountId>
        <ExpDate>dateTime</ExpDate>
        <Name>string</Name>
        <Status>boolean</Status>
        <EMail>string</EMail>
        <Mobile>string</Mobile>
        <Phone>string</Phone>
        <HAddress>string</HAddress>
        <ShowAllRes>boolean</ShowAllRes>
        <CanEditOthRes>boolean</CanEditOthRes>
        <ExpedintID>string</ExpedintID>
        <Pin>string</Pin>
        <LoginId>string</LoginId>
        <Supervisor>boolean</Supervisor>
        <Pxm_ID>guid</Pxm_ID>
        <AgencyPxm_ID>guid</AgencyPxm_ID>
        <Note>string</Note>
      </pTVUser>
    </CreateAgencyUser>
  </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>
    <CreateAgencyUserResponse xmlns="http://www.tourvisio.com/">
      <CreateAgencyUserResult>boolean</CreateAgencyUserResult>
    </CreateAgencyUserResponse>
  </soap12:Body>
</soap12:Envelope>