ExecuteLocalProcedure REST C# code example

Hello,


I'm writing a small custom app using the REST services for the first time. Everything was going great until I ran into a situation where I needed to call a local procedure. I can't seem to figure out how to pass the correct types into the Post call for the serialization to work.  Does anyone have a code example for calling a local procedure with the REST services? Any help is greatly appreciated!


Thanks in advance, 

Sean

Parents
  • Former Member
    Former Member $organization

    Sean

     

    For the local procedure call to work, you need to:

    1-      Send the parameters in XML format in the body of the request. The expected format is documented in the service page e.g. https://yourservername/TessituraService/Custom/help/operations/ExecuteLocalProcedure

    2-      Add a HTTP header to the request with name “Content-Type” and value “application/xml”

     

    Fernando Margueirat
    Business Analyst
    The National Ballet of Canada
    470 Queens Quay West
    Toronto, Ontario
    M5V 3K4
    P: 416 345 9686 x453
    F: 416 345 8323

    http://national.ballet.ca

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Sean Pinto
    Sent: Tuesday, August 11, 2015 10:49 AM
    To: Fernando Margueirat <FMargueirat@national.ballet.ca>
    Subject: [Tessitura Web Forum] ExecuteLocalProcedure REST C# code example

     

    Hello,

     

    I'm writing a small custom app using the REST services for the first time. Everything was going great until I ran into a situation where I needed to call a local procedure. I can't seem to figure out how to pass the correct types into the Post call for the serialization to work.  Does anyone have a code example for calling a local procedure with the REST services? Any help is greatly appreciated!

     

    Thanks in advance, 

    Sean




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Reply
  • Former Member
    Former Member $organization

    Sean

     

    For the local procedure call to work, you need to:

    1-      Send the parameters in XML format in the body of the request. The expected format is documented in the service page e.g. https://yourservername/TessituraService/Custom/help/operations/ExecuteLocalProcedure

    2-      Add a HTTP header to the request with name “Content-Type” and value “application/xml”

     

    Fernando Margueirat
    Business Analyst
    The National Ballet of Canada
    470 Queens Quay West
    Toronto, Ontario
    M5V 3K4
    P: 416 345 9686 x453
    F: 416 345 8323

    http://national.ballet.ca

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Sean Pinto
    Sent: Tuesday, August 11, 2015 10:49 AM
    To: Fernando Margueirat <FMargueirat@national.ballet.ca>
    Subject: [Tessitura Web Forum] ExecuteLocalProcedure REST C# code example

     

    Hello,

     

    I'm writing a small custom app using the REST services for the first time. Everything was going great until I ran into a situation where I needed to call a local procedure. I can't seem to figure out how to pass the correct types into the Post call for the serialization to work.  Does anyone have a code example for calling a local procedure with the REST services? Any help is greatly appreciated!

     

    Thanks in advance, 

    Sean




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Children
No Data