Asked by:
Store submission API does not bring all data of pending submission.

Question
-
Hi,
I had created a new submission using API, when I did that following was JSON returned in 'cloned submission'
"applicationCategory": "Productivity",
"pricing": {
"trialPeriod": "NoFreeTrial",
"marketSpecificPricings": {
"US": "Tier1087",
"CA": "Tier1090",
"IE": "Tier1081",
"GB": "Tier1083",
"AS": "Tier1087",
"GG": "Tier1087",
"IM": "Tier1087",
"UM": "Tier1087",
"VI": "Tier1087",
"VG": "Tier1087"
},
"sales": [],
"priceId": "Tier1022",
"isAdvancedPricingModel": true
},
"visibility": "Public",
"targetPublishMode": "Immediate",
"targetPublishDate": "1601-01-01T00:00:00Z",as you can see here the trialPeriod is "NoFreeTrial".
After creating clonedsubmission, without doing commit, I went to website and modified few items like trialPeriod , I also added 'Schedule', modified pricing, added 'sale pricing', added 'Customize for specific markets' for free trail. I saved the draft.
I then again tried to read the pending submission using API and this is what I got
"applicationCategory": "Productivity",
"pricing": {
"trialPeriod": "ThirtyDays",
"marketSpecificPricings": {
"US": "Tier1087",
"IN": "Tier1012",
"BR": "Tier1012",
"CA": "Tier1090",
"IE": "Tier1081",
"GB": "Tier1083",
"AS": "Tier1087",
"BQ": "Tier1012",
"GG": "Tier1087",
"BJ": "Tier1012",
"IM": "Tier1087",
"UM": "Tier1087",
"VI": "Tier1087",
"VG": "Tier1087",
"EH": "NotAvailable"
},
"sales": [],
"priceId": "Tier1022",
"isAdvancedPricingModel": true
},
"visibility": "Public",
"targetPublishMode": "Immediate",
"targetPublishDate": "1601-01-01T00:00:00Z",As you can see from the JSON received , that trialPeriod value is updated one, not all but few "marketSpecificPricings" are updated, I wonder why? Also 'Market group name' information is missing, 'sale pricing ' information is missing that was recently added.
I wonder is there a problem in API or something else ?
Kindly advice.
Regards
Thursday, February 13, 2020 2:06 PM
All replies
-
Hi,
Could you please tell me which document you are following to do this? And what API you are using to query this data?
Best regards,
Roy
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.Friday, February 14, 2020 2:11 AM -
Hi,
There is very less of documentation available, whatever is available is here in below link which I am referring
https://docs.microsoft.com/en-us/windows/uwp/monetize/create-and-manage-submissions-using-windows-store-services
Also referring MSFT sample code IngestionClient.cs & AppSubmissionUpdateSample.cs fileshttps://github.com/MicrosoftDocs/windows-uwp/tree/f6a9dc7d8be57cefd99c946c1fb733f0aaae602f/windows-apps-src/monetize/code/StoreServicesExamples_Submission
and below is the C# code that I am using
Console.WriteLine("Getting application ");
var client = new IngestionClient(accessToken, serviceEndpoint);
dynamic app = client.Invoke<dynamic>(
HttpMethod.Get,
relativeUrl: string.Format(
CultureInfo.InvariantCulture,
IngestionClient.GetApplicationUrlTemplate,
IngestionClient.Version,
IngestionClient.Tenant,
appId),
requestContent: null).Result;
Console.WriteLine(app.ToString());int i = 0; //break point.// get pending submission id
var submissionIds = app.pendingApplicationSubmission.id.Value as string;
// Get Pending Submission Details
dynamic pendingSubmissionJSON = client.Invoke<dynamic>(
HttpMethod.Get,
relativeUrl: string.Format(
CultureInfo.InvariantCulture,
IngestionClient.GetSubmissionUrlTemplate,
IngestionClient.Version,
IngestionClient.Tenant,
appId,
submissionIds),
requestContent: null).Result;// break point. You will get JSON data in variable pendingSubmissionJSON
// Copy value of pendingSubmissionJSON from watch window into notepad
Regards
Friday, February 14, 2020 4:57 AM -
Hi,
Please open a free support ticket here:Contact Us. Choose to Contact us, select Dashboard for Topic and select App submissions issue type. So that the store team could check what happens to your app after you changed the settings.
Best regards,
Roy
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.Friday, February 14, 2020 7:56 AM