# Slash '/' on PartNum URL Patch Rest API

**URL:** <https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415>\
**Category:** Epicor ERP 10\
**Tags:** rest-api\
**Created:** [October 13, 2022, 11:04pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415 "2022-10-13T23:04:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Montoya](https://www.epiusers.help/user_avatar/www.epiusers.help/fernando_montoya/32/68606_2.png) [@Fernando\_Montoya](https://www.epiusers.help/u/Fernando_Montoya)\
**Post date:** [October 13, 2022, 11:04pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/1 "2022-10-13T23:04:06Z")

</div>

I Need patch rows externally for UD table, The trouble is when the partnum have a ‘/’ I get this request.

“HttpStatus”: 404,  
“ReasonPhrase”: “REST API Exception”,  
“ErrorMessage”: “OData path is undefined for the request”

No Problem with this part when I call GET method.

[https://myserver.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s(COMPANY,FisicoALREPDS134041,427,TSA/KO15208-01B02L-N’,Fisico,0)](https://myserver.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s(COMPANY,FisicoALREPDS134041,427,TSA/KO15208-01B02L-N',Fisico,0))

can any one help me?

---

<div class="post-metadata">

**Author:** ![Aaron\_Moreng](https://www.epiusers.help/user_avatar/www.epiusers.help/aaron_moreng/32/745_2.png) [@Aaron\_Moreng](https://www.epiusers.help/u/Aaron_Moreng)\
**Post date:** [October 14, 2022, 1:24am UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/2 "2022-10-14T01:24:46Z")

</div>

Might need to url encode the part. Are you trying in swagger or code? I’d try in swagger and pass a url encoded part num and see if that works

---

<div class="post-metadata">

**Author:** ![Fernando\_Montoya](https://www.epiusers.help/user_avatar/www.epiusers.help/fernando_montoya/32/68606_2.png) [@Fernando\_Montoya](https://www.epiusers.help/u/Fernando_Montoya)\
**Post date:** [October 14, 2022, 3:55pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/3 "2022-10-14T15:55:33Z")

</div>

> [@Aaron\_Moreng](#):
>
> encode

Hi @Aaron_Moreng same error in Postman with url encode

 ![image](https://www.epiusers.help/uploads/default/original/3X/0/4/04f3babc12955989cd11e2fa44c9931c34e3a110.png)

[https://myseecer.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s(COMPANY%2CFisicoALREPDS134041%2C427%2CTSA%2FKO15208-01B02L-N'%2CFisico%2C0)](https://myseecer.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s%28COMPANY%2CFisicoALREPDS134041%2C427%2CTSA%2FKO15208-01B02L-N%27%2CFisico%2C0%29)

ALSO

[https://myserver.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s(COMPANY,FisicoALREPDS134041,427,‘TSA%2FKO15208-01B02L-N’,Fisico,0)](https://myserver.com/ERP102500/api/v1/Ice.BO.UD37Svc/UD37s(COMPANY,FisicoALREPDS134041,427,'TSA%2FKO15208-01B02L-N',Fisico,0))

---

<div class="post-metadata">

**Author:** ![Aaron\_Moreng](https://www.epiusers.help/user_avatar/www.epiusers.help/aaron_moreng/32/745_2.png) [@Aaron\_Moreng](https://www.epiusers.help/u/Aaron_Moreng)\
**Post date:** [October 14, 2022, 3:59pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/4 "2022-10-14T15:59:25Z")

</div>

Are you passing a body too? I thought you had to with PATCH but it’s been a while…

---

<div class="post-metadata">

**Author:** ![Fernando\_Montoya](https://www.epiusers.help/user_avatar/www.epiusers.help/fernando_montoya/32/68606_2.png) [@Fernando\_Montoya](https://www.epiusers.help/u/Fernando_Montoya)\
**Post date:** [October 14, 2022, 4:00pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/5 "2022-10-14T16:00:43Z")

</div>

Yes this is the body

{“Number05”:“1.0”,“Number01”:“11.0”}

---

<div class="post-metadata">

**Author:** ![Aaron\_Moreng](https://www.epiusers.help/user_avatar/www.epiusers.help/aaron_moreng/32/745_2.png) [@Aaron\_Moreng](https://www.epiusers.help/u/Aaron_Moreng)\
**Post date:** [October 14, 2022, 4:15pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/6 "2022-10-14T16:15:18Z")

</div>

Testing, give me a minute

---

<div class="post-metadata">

**Author:** ![Aaron\_Moreng](https://www.epiusers.help/user_avatar/www.epiusers.help/aaron_moreng/32/745_2.png) [@Aaron\_Moreng](https://www.epiusers.help/u/Aaron_Moreng)\
**Post date:** [October 14, 2022, 4:51pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/7 "2022-10-14T16:51:35Z")

</div>

You might have better luck using the Custom Methods.  
This worked fine for me.

 ![image](https://www.epiusers.help/uploads/default/original/3X/1/5/15e0738923591b0722a645bd8f04c3f2e7fa8444.png)

your request URL is similar but just pass the body identifying the record and the update fields you want and change your method to POST  
https://{yourserver}/{instance}/api/v1/Ice.BO.UD37Svc/UpdateExt

---

<div class="post-metadata">

**Author:** ![Fernando\_Montoya](https://www.epiusers.help/user_avatar/www.epiusers.help/fernando_montoya/32/68606_2.png) [@Fernando\_Montoya](https://www.epiusers.help/u/Fernando_Montoya)\
**Post date:** [October 14, 2022, 5:34pm UTC](https://www.epiusers.help/t/slash-on-partnum-url-patch-rest-api/95415/8 "2022-10-14T17:34:09Z")

</div>

Great!! works like a charm!! thank you @Aaron_Moreng
