Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Publish event details



  • Hi

    I have created WCF restful service, which will receive data whenever any build exucuted.
    I have configured it under Publish event details. Build master sends data either in xml or json format. I want the sample xml and JSON file, as i'm not sure which sort of data i'm receiving from build master.

    Thanks

    Product: BuildMaster
    Version: 5.0.11



  • The XML will look like this:
    <Event
    Event_Code="6-digit-code"
    Event_Description="text description"
    Key1 = "Value1"
    Key2 = "Value2"
    />

    The JSON will be similar

    {
        Event_Code: "6-digit-code" ,
        Event_Description: "text description",
        Key1: "Value1",
        Key2:  "Value2"
    }
    

    hope that helps!



  • Hi Alana

    Thanks for your reply.

    I have to created a class to read the json or xml file. That's why i need the complete sample file. I tried with xml but i think it has UTF-16 encoding due to which application sends Bad Request error. If possible can you provide me the complete file in JSON.



  • It is sent with UTF-8 encoding, and this is sent as an HTTP header as well.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation