Sample soap requests for method getOfferDonorInfoV2():
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is valid, arg1(nationalDonorId)
is valid.
note: DWL donor[CTD056504] has made a few offers, but since arg0(offerId) is not NULL, only 1 offer(37137)
is returned in the response: getOfferDonorInfoV2_1.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is valid, arg1(nationalDonorId)
is valid, arg2(dateOfBirth) is valid.
note: DWL donor[CTD056504] has made many offers, but since arg0(offerId) is not NULL, only 1 offer(37137) is
returned in the response: getOfferDonorInfoV2_2.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId) is
valid, arg2(dateOfBirth) is null.
note: DWL donor[CTD056504] has made a few offers, but since arg0(offerId) is null, all (3) offers are
returned in the response; : getOfferDonorInfoV2_3.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is 'empty', arg1(nationalDonorId)
is
valid, arg2(dateOfBirth) is valid.
note: arg0(offerId) = <arg0/>, DWL donor[CTD056504] has made a few offers, but since arg0(offerId) is
null, all (3) offers are
returned in the response: getOfferDonorInfoV2_4.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId) is
valid arg2(dateOfBirth) is null.
note: DWL donor[CTD056586] has NOT made any offers, the response is empty: getOfferDonorInfoV2_5.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId)
is valid
arg2(dateOfBirth) is valid.
note: DWL donor[CTD056586] has NOT made any offers, the response is empty: getOfferDonorInfoV2_6.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId)
is valid
arg2(dateOfBirth) is null.
note: User has recipient ODO permissions, the response will contain 3 offers from DWL donor[CTD056504]: getOfferDonorInfoV2_7.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId)
is valid
arg2(dateOfBirth) is null.
note: User has Donor ODO permissions, the response will contain all(6) the offers made by DWL
donor[CTD056504]: getOfferDonorInfoV2_8.html
- Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId)
is valid
arg2(dateOfBirth) is null.
note: Examples of assigning NULL value to XML field arg0: getOfferDonorInfoV2_9.html
Errors:
- Inputs arg0(offerId) [9999999], is not valid, arg1=null -> Error: getOfferDonorInfoV2_e1.html
- Inputs arg0(offerId) and arg1(nationalDonorId) are valid, but the nationalDonorId did not make the offer ->
Error: getOfferDonorInfoV2_e2.html
- Inputs arg0(offerId) is null, arg1(nationalDonorId) is valid, arg2(dateOfBirth) is valid, but the donor DOB
does not match -> Error: getOfferDonorInfoV2_e3.html
- Inputs arg0(offerId) is valid, arg1(nationalDonorId) is null, arg2(dateOfBirth) is valid, but the donor DOB
does not match -> Error: getOfferDonorInfoV2_e4.html
- Inputs arg0(offerId) is null, arg1(nationalDonorId) is valid, arg2(dateOfBirth) is Not valid valid
'YYYY-MM-DD'. -> Error: getOfferDonorInfoV2_e5.html
- Inputs arg0(offerId) is null, arg1(nationalDonorId) is null, arg2(dateOfBirth) is valid. The DOB has nothing
to match against. -> Error: getOfferDonorInfoV2_e6.html
- Inputs arg1(nationalDonorId) [CTD12345] is not valid, it contains 5 digits.-> Error: getOfferDonorInfoV2_e7.html
- Inputs arg1(nationalDonorId) [CTD1234567] is not valid, it contains 7 digits.-> Error: getOfferDonorInfoV2_e8.html
- Inputs arg1(nationalDonorId) [CTD123$56] is not valid, it contains a non-digit character.-> Error: getOfferDonorInfoV2_e9.html
- Inputs arg1(nationalDonorId) [CTR056504] is not valid, prefix [CTR] is not valid for patient type
[DeceasedDonor].-> Error: getOfferDonorInfoV2_10.html
- Inputs arg1(nationalDonorId) [CTD999999] is not valid. Donor does not exist in CTR -> Error: getOfferDonorInfoV2_e11.html
- Inputs arg0(offerId) is null, arg1(nationalDonorId) is null, arg2(dateOfBirth) is null -> Error: getOfferDonorInfoV2_e13.html
- Inputs arg0(offerId) is null, arg1(nationalDonorId) is not valid <arg0> </arg0>, arg2(dateOfBirth) is null-> Error: getOfferDonorInfoV2_e14.html