Discussion Forum: Thread 346436

 Author: Kuzz View Messages Posted By Kuzz
 Posted: Sep 12, 2023 05:06
 Subject: Bricklink API - Catalog and PCC
 Viewed: 60 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Kuzz (10)

Location:  France, Occitanie
Member Since Contact Type Status
Aug 18, 2022 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Kuzz
Hello there.

I would like to be able from my C# application using bricklink API to search
for parts using their PCC ID and not the model ID and color ID (in order to have
something clear with pick & build search system).
Is there any way to do this?

Thanks.
 Author: hpoort View Messages Posted By hpoort
 Posted: Sep 12, 2023 06:45
 Subject: Re: Bricklink API - Catalog and PCC
 Viewed: 33 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

hpoort (417)

Location:  Netherlands, Groningen
Member Since Contact Type Status
Oct 11, 2014 Contact Member Buyer
Buying Privileges - OK
In Help, Kuzz writes:
  Hello there.

I would like to be able from my C# application using bricklink API to search
for parts using their PCC ID and not the model ID and color ID (in order to have
something clear with pick & build search system).
Is there any way to do this?

Thanks.

You'll probably have to the translation from PCC to Bricklink Part nr + Bricklink
Color nr before you send your request to the API.
You can download the PCC mapping table at https://www.bricklink.com/catalogDownload.asp?utm_content=subnav
by selecting the Part and Color Codes bullet.

For updates, you could re-download the file every few weeks and cache the downloaded
file.
The change log is found at https://www.bricklink.com/catalogReqList.asp?nID=&viewDate=Y&viewType=E&viewStatus=A&viewAction=H
 Author: Kuzz View Messages Posted By Kuzz
 Posted: Sep 12, 2023 12:20
 Subject: Re: Bricklink API - Catalog and PCC
 Viewed: 26 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Kuzz (10)

Location:  France, Occitanie
Member Since Contact Type Status
Aug 18, 2022 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Kuzz
Thanks a lot for your answer, it was very helpfull