public void WhenIAddNewPartnerDetailsWithInvalidTokenWithDetailsAnd(string name, string accType, string accNo, string orgName)
 {
     CommonMethods.CreateRequest("POST", StaticObjectRepo.Endpoint);
     CommonMethods.AddHeaders();
     CommonMethods.AddParameters("InvalidToken");
     PostRequest.CreatePartner(name, accType, accNo, orgName);
 }
 public void WhenICreateABadRequestForPartnerDetailsWithDetailsAnd(string name, string accType, string accNo, string orgName)
 {
     CommonMethods.CreateRequest("POST", StaticObjectRepo.Endpoint);
     CommonMethods.AddHeaders();
     CommonMethods.AddParameters("PartnerDetails", "api-version");
     PostRequest.CreatePartner(name, accType, accNo, orgName);
 }
 public void WhenIUpdateExistingWithDetailsAnd(string name, string accType, string accNo, string orgName)
 {
     CommonMethods.CreateRequest("POST", StaticObjectRepo.Endpoint);
     CommonMethods.AddHeaders();
     CommonMethods.AddParameters("PartnerDetails");
     PostRequest.CreatePartner(name, accType, accNo, orgName);
 }