Kapalı

Simple C# Modification to work in MacroRecorder with Ebay API

Simply provide the example C# from ebay api to work in MacroRecorder C# insert statement.

The MacroRecorder Environment required C# code like this.

public class Program

{

public static void Main()

{

[url removed, login to view]("test");

}

}

I require the following C# code modified to work. It MUST include a class named "Program" and with a static method "Main" to execute.

Here is the C# code requiring modification.,

--------------

using System;

using [url removed, login to view]; // use your project name here

namespace TesteBaySoap405 // use your project name here

{

class GeteBayOfficialTime

{

[STAThread]

static void Main(string[] args)

{

string endpoint = "[url removed, login to view]";

string callName = "GeteBayOfficialTime";

string siteId = "0";

string appId = "yourAppId"; // use your app ID

string devId = "yourDevId"; // use your dev ID

string certId = "yourCertId"; // use your cert ID

string version = "405";

// Build the request URL

string requestURL = endpoint

+ "?callname=" + callName

+ "&siteid=" + siteId

+ "&appid=" + appId

+ "&version=" + version

+ "&routing=default";

// Create the service

eBayAPIInterfaceService service = new eBayAPIInterfaceService();

// Assign the request URL to the service locator.

[url removed, login to view] = requestURL;

// Set credentials

[url removed, login to view] = new CustomSecurityHeaderType();

[url removed, login to view] = "yourToken"; // use your token

[url removed, login to view] = new UserIdPasswordType();

[url removed, login to view] = appId;

[url removed, login to view] = devId;

[url removed, login to view] = certId;

// Make the call to GeteBayOfficialTime

GeteBayOfficialTimeRequestType request = new GeteBayOfficialTimeRequestType();

[url removed, login to view] = "405";

GeteBayOfficialTimeResponseType response = [url removed, login to view](request);

[url removed, login to view]("The time at eBay headquarters in San Jose, California, USA, is:");

[url removed, login to view]([url removed, login to view]);

}

}

}

------------

Ebay API Guidelines say.

Use your project name in the using and namespace statements at top.

Beceriler: C# Programlama

Daha fazlasını görün: usa programming, string programming, sharp test, sharp service, sharp api, programming static, work in, the c, simple console, simple c, simple api work, console c, console app using, api response time, use api project credentials, build static version, api token, execute program credentials, console service, forms modification, service console, forms app windows, api dev, locator app, create app using api

İşveren Hakkında:
( 3 değerlendirme ) Freemans Reach, Australia

Proje NO: #6493027

6 freelancer bu iş için ortalamada 30$ teklif veriyor

ta0soft

Hi I would be happy to help with your project :) I have over 10 years of experience with C# and .NET, I specialize in Windows applications and GUI design. I also have lots of experience working with eBay APIs and other Daha fazlası

1 gün içinde 35$ USD
(34 Değerlendirme)
4.9
CodeRush

Hi, The requirement is to modify the code to get the local time at eBay headquarters right? I can deliver this within a few hours if you can provide the eBay app, cert and dev IDs. About Me: I'm a .NET develop Daha fazlası

1 gün içinde 30$ USD
(11 Değerlendirme)
4.6
firmuscode

Hi, Do you just want a console application that displays the eBay headquarter time? Regards, Kunal ----------------------------------------------------------------------- OK - So as I see you need a standalo Daha fazlası

in 0 gün içinde19$ USD
(8 Değerlendirme)
4.4
munis4ever

Please contact me for further details

1 gün içinde 45$ USD
(1 Değerlendirme)
2.4
dennywu

Hi, I'm fully understand with your requirements. I'm have good experience with c# and WEB API. Let me know if you're interested working with me. Cheers, Denny Wu

1 gün içinde 27$ USD
(3 Değerlendirme)
2.1
menkej

I'm just starting with freelancing, but I have loads of experience and knowledge, and I think this task would not be a problem. Since you mention this would be just a start, I'd be very happy to start working with you.

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0