Giter Site home page Giter Site logo

Comments (5)

 avatar commented on May 18, 2024 1

Hi Anand,

I would recommend that you check out the Service Request examples from the Partner Center SDK sample project. If that does not help then it would be a good idea to open a support ticket through Partner Center regarding this question.

from reseller-web-application.

 avatar commented on May 18, 2024 1

Hi Anand,

The behavior you described is excepted. You will notice that various components of the Partner Center API/SDK behave in this manner. This was done to ensure that the data being returned from the API is done so in an optimal manner. If you would like to get the notes for each service request then my recommendation would be

  1. Make the partnerOperations.ServiceRequests.Get() call to obtain a complete list of service requests
  2. Iterate through the results from the above operation and request each service request by ID

What I have seen most partner do is use the partnerOperations.ServiceRequest.Get() function to obtain a list of service requests. Then they use that data to populate a website where the user can click on an issue to drill into it.

from reseller-web-application.

 avatar commented on May 18, 2024 1

Hi @AnandKumar2610, please let us know if you are still having issues. I am going to close this issue for now, but please feel free to reopen it.

from reseller-web-application.

AnandKumar2610 avatar AnandKumar2610 commented on May 18, 2024

Hi @IsaiahWilliams thank you for your reply.
Actually i am created 13 service request using SDK.

I got Notes if am using ID:
ServiceRequest serviceRequestDetails = partnerOperations.ServiceRequests.ById(existingServiceRequest.Id).Get();

When i use the below code to retrieve all service request notes, i am getting null value for all notes.
ServiceRequest serviceRequestDetails = partnerOperations.ServiceRequests.Get();

Source: https://docs.microsoft.com/en-us/partner-center/develop/get-service-request-details-by-id

Thanks in advance
-Anand

from reseller-web-application.

AnandKumar2610 avatar AnandKumar2610 commented on May 18, 2024

Hi @IsaiahWilliams thanks for your reply.
I need one request and get all information's. Why i need loop and call each time. Suppose I have 500 Service Request mean it will hit server 500 times correct?

from reseller-web-application.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.